TokenResponseReceivedContext Class¶
This Context can be used to be informed when an ‘AuthorizationCode’ is redeemed for tokens at the token endpoint.
- Namespace
Microsoft.AspNetCore.Authentication.OpenIdConnect
- Assemblies
- Microsoft.AspNetCore.Authentication.OpenIdConnect
Syntax¶
public class TokenResponseReceivedContext : BaseOpenIdConnectContext
-
class
Microsoft.AspNetCore.Authentication.OpenIdConnect.
TokenResponseReceivedContext
Constructors¶
-
TokenResponseReceivedContext
(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Builder.OpenIdConnectOptions, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties)¶ Creates a
Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext
public TokenResponseReceivedContext(HttpContext context, OpenIdConnectOptions options, AuthenticationProperties properties)
-
Properties¶
-
Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext.
Properties
¶ Return type: Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties public AuthenticationProperties Properties { get; }
-
Microsoft.AspNetCore.Authentication.OpenIdConnect.TokenResponseReceivedContext.
TokenEndpointResponse
¶ Gets or sets the
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage
that contains the tokens received after redeeming the code at the token endpoint.Return type: Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage public OpenIdConnectMessage TokenEndpointResponse { get; set; }
-