Class AuthorizationCodeRequestUrl
OAuth 2.0 request 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 http://tools.ietf.org/html/rfc6749#section-4.1.
Inheritance
AuthorizationCodeRequestUrl
Inherited Members
Namespace: Google.Apis.Auth.OAuth2.Requests
Assembly: Google.Apis.Auth.dll
Syntax
public class AuthorizationCodeRequestUrl : AuthorizationRequestUrl
Constructors
AuthorizationCodeRequestUrl(Uri)
Constructs a new authorization code request with the specified URI and sets response_type to code
.
Declaration
public AuthorizationCodeRequestUrl(Uri authorizationServerUrl)
Parameters
Type | Name | Description |
---|---|---|
Uri | authorizationServerUrl |
Methods
Build()
Creates a Uri which is used to request the authorization code.
Declaration
public Uri Build()
Returns
Type | Description |
---|---|
Uri |