Dela via


OAuthCodeExchangeContext(AuthenticationProperties, String, String) Constructor

Definition

Initializes a new OAuthCodeExchangeContext.

public:
 OAuthCodeExchangeContext(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ code, System::String ^ redirectUri);
public OAuthCodeExchangeContext (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string code, string redirectUri);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string * string -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext
Public Sub New (properties As AuthenticationProperties, code As String, redirectUri As String)

Parameters

code
String

The code returned from the authorization endpoint.

redirectUri
String

The redirect uri used in the authorization request.

Applies to