Class GoogleAuthorizationCodeFlow.Initializer
An initializer class for Google authorization code flow.
Inherited Members
Namespace: Google.Apis.Auth.OAuth2.Flows
Assembly: Google.Apis.Auth.dll
Syntax
public class GoogleAuthorizationCodeFlow.Initializer : AuthorizationCodeFlow.Initializer
Constructors
Initializer()
Constructs a new initializer. Sets Authorization server URL to OidcAuthorizationUrl, and Token server URL to OidcTokenUrl.
Declaration
public Initializer()
Initializer(string, string, string)
Constructs a new initializer.
Declaration
protected Initializer(string authorizationServerUrl, string tokenServerUrl, string revokeTokenUrl)
Parameters
Type | Name | Description |
---|---|---|
string | authorizationServerUrl | Authorization server URL |
string | tokenServerUrl | Token server URL |
string | revokeTokenUrl | Revocation server URL |
Remarks
This is mainly for internal testing at Google, where we occasionally need to use alternative oauth endpoints. This is not for general use.
Properties
IncludeGrantedScopes
Gets or sets the optional indicator for including granted scopes for incremental authorization.
Declaration
public bool? IncludeGrantedScopes { get; set; }
Property Value
Type | Description |
---|---|
bool? |
LoginHint
Gets or sets the login_hint.
Declaration
public string LoginHint { get; set; }
Property Value
Type | Description |
---|---|
string |
Nonce
Gets or sets the nonce.
Declaration
public string Nonce { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The project ID associated with the credential using this flow.
Declaration
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Prompt
Gets or sets the prompt for consent behaviour.
Value can be null
, "none"
, "consent"
, or "select_account"
.
See OpenIDConnect documentation
for details.
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
string |
RevokeTokenUrl
Gets or sets the token revocation URL.
Declaration
public string RevokeTokenUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
UserDefinedQueryParams
Gets or sets the optional user defined query parameters.
Declaration
public IEnumerable<KeyValuePair<string, string>> UserDefinedQueryParams { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<KeyValuePair<string, string>> |