class Github::OAuth2

Defined in:

github/oauth2.cr

Constant Summary

AuthorizeUri = "/login/oauth/authorize"
Host = "github.com"
TokenUri = "/login/oauth/access_token"
UserAgent = "CrystalGithubClient/#{Github::VERSION}"

Constructors

Instance Method Summary

Constructor Detail

def self.new(client_id : String, client_secret : String, redirect_uri : String) #

[View source]

Instance Method Detail

def access_token(authorization_code : String) #

[View source]
def authorize_uri(scope = nil, state = nil) #

[View source]