Comrade::Providers::Google
Inherits Comrade::Providers::OAuth2Provider < Comrade::Providers::BaseProvider < Reference < Object
Google OAuth 2.0 and OpenID Connect provider
Instance methods
authorization_url
Sourceget_token(code : String, state : String | Nil = nil, code_verifier : String | Nil = nil, **options) : Token
Override get_token to handle Google-specific token response
openid_user_url
Sourceredirect(scopes : Array(String) = [] of String, state : String | Nil = nil, code_verifier : String | Nil = nil, **options) : String
Override redirect to add Google-specific parameters
Override refresh_token to handle Google's refresh token flow
revocation_url
Sourcetoken_url
Sourceuser_url
Source