class

CrystalCommunity::AuthController

Inherits Reference / Object

Constants

GITHUB_AUTHORIZE_URL = "https://github.com/login/oauth/authorize"
GITHUB_TOKEN_URL = "https://github.com/login/oauth/access_token"
GITHUB_USER_URL = "https://api.github.com/user"

Class methods

github(env)

Redirect to GitHub OAuth

Source
github_callback(env)

Handle GitHub OAuth callback

Source