Bagikan melalui


OpenIdConnectHandler.RedeemAuthorizationCodeAsync Metode

Definisi

Menukarkan kode otorisasi untuk token di titik akhir token.

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)

Parameter

tokenEndpointRequest
OpenIdConnectMessage

Permintaan yang akan dikirim ke titik akhir token dan tersedia untuk penyesuaian.

Mengembalikan

Pesan OpenIdConnect yang memiliki token di dalamnya.

Berlaku untuk