OpenIdConnectHandler.RedeemAuthorizationCodeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.