class

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")
Source

Instance methods

authorize_endpoint
Source
token_endpoint
Source
userinfo_endpoint
Source