class Sitefull::Auth::Google

Constants

AUTHORIZATION_URI
CALLBACK_URI
SCOPE
TOKEN_CREDENTIALS_URI

Public Instance Methods

authorization_uri(_) click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 24
def authorization_uri(_)
  AUTHORIZATION_URI
end
authorization_url_options() click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 12
def authorization_url_options
  super.merge({ access_type: 'offline', approval_prompt: 'force', include_granted_scopes: true })
end
callback_uri() click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 20
def callback_uri
  CALLBACK_URI
end
credentials(token) click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 16
def credentials(token)
  token
end
scope() click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 28
def scope
  SCOPE
end
token_credentials_uri(_) click to toggle source
# File lib/sitefull-cloud/auth/google.rb, line 32
def token_credentials_uri(_)
  TOKEN_CREDENTIALS_URI
end