GoogleAuthSettings

Settings for 'google' provider.

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

Constructors

this
this(Json config)

See OAuthSettings constructor for common documentation.

this
this(string clientId, string clientSecret, string projectId, string redirectUri)

Construct GoogleAuthSettings providing settings directly.

Members

Variables

projectId
string projectId;

Inherited Members

From OAuthSettings

provider
OAuthProvider provider;
clientId
string clientId;
clientSecret
string clientSecret;
redirectUri
string redirectUri;
hash
ubyte[] hash;
Undocumented in source.
userAuthUri
string userAuthUri(Session httpSession, string[string] extraParams, string[] scopes)
string userAuthUri(Session httpSession, string[] scopes)

User login helper method.

userSession
OAuthSession userSession(Session httpSession, string state, string authorizationCode)

User login helper method, complementary to userAuthUri.

userSession
OAuthSession userSession(string username, string password, string[] scopes)

Start a session on behalf of the resource owner, using _username and _password for authentication.

clientSession
OAuthSession clientSession(string[] scopes)

Obtain a new session using client credentials.

loadSession
deprecated OAuthSession loadSession(Session httpSession)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta