OAuthHandler<TOptions>.ExchangeCodeAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ExchangeCodeAsync(OAuthCodeExchangeContext) |
Scambia il codice di autorizzazione per un token di autorizzazione dal provider remoto. |
ExchangeCodeAsync(String, String) |
ExchangeCodeAsync(OAuthCodeExchangeContext)
- Origine:
- OAuthHandler.cs
Scambia il codice di autorizzazione per un token di autorizzazione dal provider remoto.
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)
Parametri
- context
- OAuthCodeExchangeContext
Oggetto OAuthCodeExchangeContext.
Restituisce
Risposta OAuthTokenResponse.
Si applica a
ExchangeCodeAsync(String, String)
- Origine:
- OAuthHandler.cs
- Origine:
- 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)
Parametri
- code
- String
- redirectUri
- String