public class AuthorizationRequestUrl
OAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to access their protected resources, as specified in http://tools.ietf.org/html/rfc6749#section-3.1.
Derived Types
Namespace
GoogleApisAuthOAuth2RequestsAssembly
Google.Apis.Auth.dll
Constructors
AuthorizationRequestUrl(Uri)
public AuthorizationRequestUrl(Uri authorizationServerUrl)
Constructs a new authorization request with the specified URI.
Parameter | |
---|---|
Name | Description |
authorizationServerUrl |
Uri Authorization server URI |
Properties
AuthorizationServerUrl
public Uri AuthorizationServerUrl { get; }
Gets the authorization server URI.
Property Value | |
---|---|
Type | Description |
Uri |
ClientId
[RequestParameter("client_id", RequestParameterType.Query)]
public string ClientId { get; set; }
Gets or sets the client identifier.
Property Value | |
---|---|
Type | Description |
string |
RedirectUri
[RequestParameter("redirect_uri", RequestParameterType.Query)]
public 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.
Property Value | |
---|---|
Type | Description |
string |
ResponseType
[RequestParameter("response_type", RequestParameterType.Query)]
public 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
Property Value | |
---|---|
Type | Description |
string |
Scope
[RequestParameter("scope", RequestParameterType.Query)]
public 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.
Property Value | |
---|---|
Type | Description |
string |
State
[RequestParameter("state", RequestParameterType.Query)]
public 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.
Property Value | |
---|---|
Type | Description |
string |