Megosztás a következőn keresztül:


OpenIdConnectHandler.RedeemAuthorizationCodeAsync Method

Definition

Redeems the authorization code for tokens at the token endpoint.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectMessage ^> ^ RedeemAuthorizationCodeAsync(Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectMessage ^ tokenEndpointRequest);
protected virtual System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage> RedeemAuthorizationCodeAsync (Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage tokenEndpointRequest);
abstract member RedeemAuthorizationCodeAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage>
override this.RedeemAuthorizationCodeAsync : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage -> System.Threading.Tasks.Task<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage>
Protected Overridable Function RedeemAuthorizationCodeAsync (tokenEndpointRequest As OpenIdConnectMessage) As Task(Of OpenIdConnectMessage)

Parameters

tokenEndpointRequest
OpenIdConnectMessage

The request that will be sent to the token endpoint and is available for customization.

Returns

OpenIdConnect message that has tokens inside it.

Applies to