Authly::Social::GitHub
Inherits Authly::Social::Provider < Reference < Object
Constants
AUTHORIZE_URL = "https://github.com/login/oauth/authorize"
EMAILS_URL = "https://api.github.com/user/emails"
TOKEN_URL = "https://github.com/login/oauth/access_token"
USERINFO_URL = "https://api.github.com/user"
Constructors
new(client_id : String, client_secret : String, redirect_uri : String, scopes : Array(String) = ["read:user", "user:email"], name : String = "github")
SourceInstance methods
authorize_endpoint
Sourcetoken_endpoint
Sourceuserinfo_endpoint
Source