Share via


TokenRequestParams.CreateForAuthorizationCodeRequest(AuthResponse) Method

Definition

A helper method to create for an authorization code grant request (authorization_code grant type) with required parameters extracted from the authorization response.

public:
 static TokenRequestParams ^ CreateForAuthorizationCodeRequest(AuthResponse ^ authResponse);
 static TokenRequestParams CreateForAuthorizationCodeRequest(AuthResponse const& authResponse);
public static TokenRequestParams CreateForAuthorizationCodeRequest(AuthResponse authResponse);
function createForAuthorizationCodeRequest(authResponse)
Public Shared Function CreateForAuthorizationCodeRequest (authResponse As AuthResponse) As TokenRequestParams

Parameters

authResponse
AuthResponse

An AuthResponse object that contains the authorization response information.

Returns

Returns a TokenRequestParams object that contains the token request parameters.

Applies to