private async Task <UserInformationReceivedContext> RunUserInformationReceivedEventAsync(AuthenticationTicket ticket, OpenIdConnectMessage message, JObject user) { Logger.UserInformationReceived(user.ToString()); var userInformationReceivedContext = new UserInformationReceivedContext(Context, Options) { Ticket = ticket, ProtocolMessage = message, User = user, }; await Options.Events.UserInformationReceived(userInformationReceivedContext); if (userInformationReceivedContext.HandledResponse) { Logger.UserInformationReceivedHandledResponse(); } else if (userInformationReceivedContext.Skipped) { Logger.UserInformationReceivedSkipped(); } return(userInformationReceivedContext); }
/// <summary> /// Invoked when user information is retrieved from the UserInfoEndpoint. /// </summary> public virtual Task UserInformationReceived(UserInformationReceivedContext context) => OnUserInformationReceived(context);
public override Task UserInformationReceived(UserInformationReceivedContext context) { return base.UserInformationReceived(context); }
public virtual Task UserInformationReceived(UserInformationReceivedContext context) => OnUserInformationReceived(context);