共用方式為


OAuthCodeExchangeContext(AuthenticationProperties, String, String) 建構函式

定義

初始化新的 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)

參數

code
String

從授權端點傳回的程式碼。

redirectUri
String

授權要求中使用的重新導向 URI。

適用於