Class AuthorizationCodeRequestUrl (1.59.0)

public class AuthorizationCodeRequestUrl : 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 and that returns an authorization code, as specified in http://tools.ietf.org/html/rfc6749#section-4.1.

Inheritance

Object > AuthorizationRequestUrl > AuthorizationCodeRequestUrl

Namespace

Google.Apis.Auth.OAuth2.Requests

Assembly

Google.Apis.Auth.dll

Constructors

AuthorizationCodeRequestUrl(Uri)

public AuthorizationCodeRequestUrl(Uri authorizationServerUrl)

Constructs a new authorization code request with the specified URI and sets response_type to code.

Parameter
NameDescription
authorizationServerUrlUri

Methods

Build()

public Uri Build()

Creates a Uri which is used to request the authorization code.

Returns
TypeDescription
Uri

Extension Method