The registered name
of the authentication provider to be used or an object with the
following keys:
Key
Type
Description
name
string
(Optional) Name for
this provider. If a name is given and automatic
registration is enabled, the provider can be referenced
by just it's name in subsequent calls.
authUri
string
Authentication uri
tokenUri
string
Token uri
clientId
string
The client ID to use in client
authentication for the given provider.
clientSecret
string
The client secret to use
in client authentication for the given provider.
redirectUri
string
The uri identifying this
application, the user agent will be redirected to this uri
(with some query parameters added) after authorization.
Construct OAuthSettings from JSON object.
The following keys must be in the JSON object: