public class AuthorizationRequestUrl : object
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
Google.Apis.Auth.OAuth2.RequestsAssembly
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
public string ClientId { get; set; }
Gets or sets the client identifier.
Property Value | |
---|---|
Type | Description |
String |
RedirectUri
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
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
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
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 |