Documentation ¶
Index ¶
Constants ¶
View Source
const ( // https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#1-request-a-users-github-identity GithubAuthURL = "https://github.com/login/oauth/authorize" // https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps#2-users-are-redirected-back-to-your-site-by-github GithubTokenURL = "https://github.com/login/oauth/access_token" GithubUserInfoEndpoint = "https://api.github.com/user" GitHubEmailsEndpoint = "https://api.github.com/user/emails" )
Variables ¶
View Source
var GithubScopes = []string{"user:email"}
Functions ¶
func AddSingletonIOAuth2Factory ¶
func AddSingletonIOAuth2Factory(cb di.ContainerBuilder)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.