Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer Class Reference

An initializer class for Google authorization code flow. More...

Inheritance diagram for Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer:
Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.Initializer

Public Member Functions

 Initializer ()
 Constructs a new initializer. Sets Authorization server URL to Google.Apis.Auth.OAuth2.GoogleAuthConsts.AuthorizationUrl, and Token server URL to Google.Apis.Auth.OAuth2.GoogleAuthConsts.TokenUrl. More...
 
- Public Member Functions inherited from Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.Initializer
 Initializer (string authorizationServerUrl, string tokenServerUrl)
 Constructs a new initializer. More...
 

Properties

string RevokeTokenUrl [get, set]
 Gets or sets the token revocation URL. More...
 
bool IncludeGrantedScopes [get, set]
 Gets or sets the optional indicator for including granted scopes for incremental authorization. More...
 
- Properties inherited from Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow.Initializer
IAccessMethod AccessMethod [get, set]
 Gets or sets the method for presenting the access token to the resource server. The default value is Google.Apis.Auth.OAuth2.BearerToken.AuthorizationHeaderAccessMethod. More...
 
string TokenServerUrl [get, set]
 Gets the token server URL. More...
 
string AuthorizationServerUrl [get, set]
 Gets or sets the authorization server URL. More...
 
ClientSecrets ClientSecrets [get, set]
 Gets or sets the client secrets which includes the client identifier and its secret. More...
 
Stream ClientSecretsStream [get, set]
 Gets or sets the client secrets stream which contains the client identifier and its secret. More...
 
IDataStore DataStore [get, set]
 Gets or sets the data store used to store the token response. More...
 
IEnumerable< string > Scopes [get, set]
 Gets or sets the scopes which indicate the API access your application is requesting. More...
 
IHttpClientFactory HttpClientFactory [get, set]
 Gets or sets the factory for creating System.Net.Http.HttpClient instance. More...
 
ExponentialBackOffPolicy DefaultExponentialBackOffPolicy [get, set]
 Get or sets the exponential back-off policy. Default value is UnsuccessfulResponse503, which means that exponential back-off is used on 503 abnormal HTTP responses. If the value is set to None, no exponential back-off policy is used, and it's up to user to configure the Google.Apis.Http.ConfigurableMessageHandler in an Google.Apis.Http.IConfigurableHttpClientInitializer to set a specific back-off implementation (using Google.Apis.Http.BackOffHandler). More...
 
IClock Clock [get, set]
 Gets or sets the clock. The clock is used to determine if the token has expired, if so we will try to refresh it. The default value is Google.Apis.Util.SystemClock.Default. More...
 

Detailed Description

An initializer class for Google authorization code flow.

Constructor & Destructor Documentation

Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer.Initializer ( )
inline

Constructs a new initializer. Sets Authorization server URL to Google.Apis.Auth.OAuth2.GoogleAuthConsts.AuthorizationUrl, and Token server URL to Google.Apis.Auth.OAuth2.GoogleAuthConsts.TokenUrl.

Property Documentation

bool Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer.IncludeGrantedScopes
getset

Gets or sets the optional indicator for including granted scopes for incremental authorization.

string Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer.RevokeTokenUrl
getset

Gets or sets the token revocation URL.


The documentation for this class was generated from the following file: