Class GoogleAuthSettings

Settings for 'google' provider.

class GoogleAuthSettings
  : OAuthSettings ;

You can just use the OAuthSettings class if you do not need any Google- specific settings.

Constructors

NameDescription
this (config) See OAuthSettings constructor for common documentation.
this (clientId, clientSecret, projectId, redirectUri) Construct GoogleAuthSettings providing settings directly.

Fields

NameTypeDescription
projectId string
clientId string
clientSecret string
provider OAuthProvider
redirectUri string

Methods

NameDescription
clientSession (scopes) Obtain a new session using client credentials.
userAuthUri (httpSession, extraParams, scopes) User login helper method.
userSession (httpSession, state, authorizationCode) User login helper method, complementary to userAuthUri.
userSession (username, password, scopes) Start a session on behalf of the resource owner, using username and password for authentication.