GoogleAuthSettings.this - multiple declarations
Function GoogleAuthSettings.this
See OAuthSettings constructor for common documentation.
this
(
in const(vibe .data .json .Json) config
) immutable;
The 'provider' field may be omitted. If it is included, it MUST be set to "google".
Additionally, this constructor supports the following JSON key:
Key | Type | Description |
---|---|---|
projectId | string | The project id of the application as registered with Google. Not to be confused with the client id. |
Please note that this JSON format is different from the JSON exported
by Google's API Manager. If you want to use the JSON file downloaded
from API Manager, call loadGoogleAuthSettings
instead.
Function GoogleAuthSettings.this
Construct GoogleAuthSettings providing settings directly.
this
(
string clientId,
string clientSecret,
string projectId,
string redirectUri
) nothrow @safe immutable;
Parameters
Name | Description |
---|---|
clientId | The client ID to use in client authentication for provider. |
clientSecret | The client secret to use in client authentication for provider. |
projectId | The project id of the application as registered with Google. Not to be confused with the client id. |
redirectUri | The uri identifying this application, the user agent will be redirected to this uri (with some query parameters added) after authorization. |