OAuthSettings.this

Construct OAuthSettings providing settings directly.

  1. this(Json config)
  2. this(string provider, string clientId, string clientSecret, string redirectUri)
    class OAuthSettings
    immutable nothrow @safe
    this
    (
    string provider
    ,
    string clientId
    ,,)

Parameters

provider string

The registered name of the authentication _provider.

clientId string

The client ID to use in client authentication for provider.

clientSecret string

The client secret to use in client authentication for provider.

redirectUri string

The uri identifying this application, the user agent will be redirected to this uri (with some query parameters added) after authorization.

Meta