Class AuthorizationCodeRequestUrl (1.60.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

GoogleApisAuthOAuth2Requests

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
Name Description
authorizationServerUrl Uri

Methods

Build()

public Uri Build()

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

Returns
Type Description
Uri

Extension Method