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

Google-specific implementation of the OAuth 2.0 URL for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns an authorization code, as specified in https://developers.google.com/accounts/docs/OAuth2WebServer. More...

Inheritance diagram for Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl:
Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl Google.Apis.Auth.OAuth2.Requests.AuthorizationRequestUrl

Public Member Functions

 GoogleAuthorizationCodeRequestUrl (Uri authorizationServerUrl)
 Constructs a new authorization code request with the given authorization server URL. This constructor sets the AccessType to offline. More...
 
- Public Member Functions inherited from Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl
 AuthorizationCodeRequestUrl (Uri authorizationServerUrl)
 Constructs a new authorization code request with the specified URI and sets response_type to code. More...
 
Uri Build ()
 Creates a System.Uri which is used to request the authorization code. More...
 
- Public Member Functions inherited from Google.Apis.Auth.OAuth2.Requests.AuthorizationRequestUrl
 AuthorizationRequestUrl (Uri authorizationServerUrl)
 Constructs a new authorization request with the specified URI. More...
 

Properties

string AccessType [get, set]
 Gets or sets the access type. Set online to request on-line access or offline to request off-line access or null for the default behavior. The default value is offline. More...
 
string ApprovalPrompt [get, set]
 Gets or sets prompt for consent behavior auto to request auto-approval or<c>force to force the approval UI to show, or null for the default behavior. More...
 
string LoginHint [get, set]
 Gets or sets the login hint. Sets email address or sub identifier. When your application knows which user it is trying to authenticate, it may provide this parameter as a hint to the Authentication Server. Passing this hint will either pre-fill the email box on the sign-in form or select the proper multi-login session, thereby simplifying the login flow. More...
 
string IncludeGrantedScopes [get, set]
 Gets or sets the include granted scopes to determine if this authorization request should use incremental authorization (https://developers.google.com/+/web/api/rest/oauth#incremental-auth). If true and the authorization request is granted, the authorization will include any previous authorizations granted to this user/application combination for other scopes. More...
 
- Properties inherited from Google.Apis.Auth.OAuth2.Requests.AuthorizationRequestUrl
string ResponseType [get, set]
 Gets or sets the response type which must be code for requesting an authorization code or token for requesting an access token (implicit grant), or space separated registered extension values. See http://tools.ietf.org/html/rfc6749#section-3.1.1 for more details More...
 
string ClientId [get, set]
 Gets or sets the client identifier. More...
 
string RedirectUri [get, set]
 Gets or sets the URI that the authorization server directs the resource owner's user-agent back to the client after a successful authorization grant, as specified in http://tools.ietf.org/html/rfc6749#section-3.1.2 or null for none. More...
 
string Scope [get, set]
 Gets or sets space-separated list of scopes, as specified in http://tools.ietf.org/html/rfc6749#section-3.3 or null for none. More...
 
string State [get, set]
 Gets or sets the state (an opaque value used by the client to maintain state between the request and callback, as mentioned in http://tools.ietf.org/html/rfc6749#section-3.1.2.2 or null for none. More...
 
Uri AuthorizationServerUrl [get]
 Gets the authorization server URI. More...
 

Detailed Description

Google-specific implementation of the OAuth 2.0 URL for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns an authorization code, as specified in https://developers.google.com/accounts/docs/OAuth2WebServer.

Constructor & Destructor Documentation

Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl.GoogleAuthorizationCodeRequestUrl ( Uri  authorizationServerUrl)
inline

Constructs a new authorization code request with the given authorization server URL. This constructor sets the AccessType to offline.

Property Documentation

string Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl.AccessType
getset

Gets or sets the access type. Set online to request on-line access or offline to request off-line access or null for the default behavior. The default value is offline.

string Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl.ApprovalPrompt
getset

Gets or sets prompt for consent behavior auto to request auto-approval or<c>force to force the approval UI to show, or null for the default behavior.

string Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl.IncludeGrantedScopes
getset

Gets or sets the include granted scopes to determine if this authorization request should use incremental authorization (https://developers.google.com/+/web/api/rest/oauth#incremental-auth). If true and the authorization request is granted, the authorization will include any previous authorizations granted to this user/application combination for other scopes.

Currently unsupported for installed apps.

string Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl.LoginHint
getset

Gets or sets the login hint. Sets email address or sub identifier. When your application knows which user it is trying to authenticate, it may provide this parameter as a hint to the Authentication Server. Passing this hint will either pre-fill the email box on the sign-in form or select the proper multi-login session, thereby simplifying the login flow.


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