OAuthHandler<TOptions>.ExchangeCodeAsync Methode

Definition

Überlädt

ExchangeCodeAsync(OAuthCodeExchangeContext)

Tauscht den Autorisierungscode gegen ein Autorisierungstoken vom Remoteanbieter aus.

ExchangeCodeAsync(String, String)

ExchangeCodeAsync(OAuthCodeExchangeContext)

Quelle:
OAuthHandler.cs

Tauscht den Autorisierungscode gegen ein Autorisierungstoken vom Remoteanbieter aus.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^> ^ ExchangeCodeAsync(Microsoft::AspNetCore::Authentication::OAuth::OAuthCodeExchangeContext ^ context);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse> ExchangeCodeAsync (Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext context);
abstract member ExchangeCodeAsync : Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse>
override this.ExchangeCodeAsync : Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse>
Protected Overridable Function ExchangeCodeAsync (context As OAuthCodeExchangeContext) As Task(Of OAuthTokenResponse)

Parameter

Gibt zurück

Die Antwort OAuthTokenResponse.

Gilt für:

ExchangeCodeAsync(String, String)

Quelle:
OAuthHandler.cs
Quelle:
OAuthHandler.cs
protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^> ^ ExchangeCodeAsync(System::String ^ code, System::String ^ redirectUri);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse> ExchangeCodeAsync (string code, string redirectUri);
abstract member ExchangeCodeAsync : string * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse>
override this.ExchangeCodeAsync : string * string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse>
Protected Overridable Function ExchangeCodeAsync (code As String, redirectUri As String) As Task(Of OAuthTokenResponse)

Parameter

code
String
redirectUri
String

Gibt zurück

Gilt für: