private async Task <TokenResponseReceivedContext> RunTokenResponseReceivedEventAsync(OpenIdConnectMessage message, OpenIdConnectMessage tokenEndpointResponse, AuthenticationProperties properties) { Logger.TokenResponseReceived(); var eventContext = new TokenResponseReceivedContext(Context, Options, properties) { ProtocolMessage = message, TokenEndpointResponse = tokenEndpointResponse }; await Options.Events.TokenResponseReceived(eventContext); if (eventContext.HandledResponse) { Logger.TokenResponseReceivedHandledResponse(); } else if (eventContext.Skipped) { Logger.TokenResponseReceivedSkipped(); } return(eventContext); }
/// <summary> /// Invoked after an authorization code is redeemed for tokens at the token endpoint. /// </summary> public virtual Task TokenResponseReceived(TokenResponseReceivedContext context) => OnTokenResponseReceived(context);
public override Task TokenResponseReceived(TokenResponseReceivedContext context) { return base.TokenResponseReceived(context); }
public virtual Task TokenResponseReceived(TokenResponseReceivedContext context) => OnTokenResponseReceived(context);