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 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 |
---|---|---|
System.String | authorizationServerUrl | Authorization server URL |
System.String | tokenServerUrl | Token server URL |
System.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 |
---|---|
System.Nullable<System.Boolean> |
LoginHint
Gets or sets the login_hint.
Declaration
public string LoginHint { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Nonce
Gets or sets the nonce.
Declaration
public string Nonce { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProjectId
The project ID associated with the credential using this flow.
Declaration
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
RevokeTokenUrl
Gets or sets the token revocation URL.
Declaration
public string RevokeTokenUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserDefinedQueryParams
Gets or sets the optional user defined query parameters.
Declaration
public IEnumerable<KeyValuePair<string, string>> UserDefinedQueryParams { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |