2 writes to Logger
Microsoft.AspNetCore.Authentication (2)
AuthenticationHandler.cs (2)
119Logger = logger.CreateLogger(this.GetType().FullName!); 136Logger = logger.CreateLogger(this.GetType().FullName!);
112 references to Logger
Microsoft.AspNetCore.Authentication (14)
AuthenticationHandler.cs (5)
230Logger.AuthenticationSchemeAuthenticated(Scheme.Name); 234Logger.AuthenticationSchemeNotAuthenticated(Scheme.Name); 239Logger.AuthenticationSchemeNotAuthenticatedWithFailure(Scheme.Name, result.Failure.Message); 317Logger.AuthenticationSchemeChallenged(Scheme.Name); 332Logger.AuthenticationSchemeForbidden(Scheme.Name);
RemoteAuthenticationHandler.cs (9)
115Logger.RemoteAuthenticationError(exception.Message); 162Logger.SignInHandled(); 167Logger.SignInSkipped(); 254Logger.CorrelationPropertyNotFound(Options.CorrelationCookie.Name!); 265Logger.CorrelationCookieNotFound(cookieName); 275Logger.UnexpectedCorrelationCookieValue(cookieName, correlationCookie); 289Logger.AccessDeniedError(); 303Logger.AccessDeniedContextHandled(); 307Logger.AccessDeniedContextSkipped();
Microsoft.AspNetCore.Authentication.Certificate (5)
CertificateAuthenticationHandler.cs (5)
53Logger.NotHttps(); 64Logger.NoCertificate(); 124Logger.CertificateRejected("Self signed", clientCertificate.Subject); 133Logger.CertificateRejected("Chained", clientCertificate.Subject); 151Logger.CertificateFailedValidation(clientCertificate.Subject, chainErrors);
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
377Logger.AuthenticationSchemeSignedIn(Scheme.Name); 413Logger.AuthenticationSchemeSignedOut(Scheme.Name);
Microsoft.AspNetCore.Authentication.JwtBearer (4)
JwtBearerHandler.cs (4)
151Logger.TokenValidationSucceeded(); 205Logger.ErrorProcessingMessage(ex); 226Logger.TokenValidationFailed(exception); 359Logger.ForbiddenResponseHasStarted();
Microsoft.AspNetCore.Authentication.Negotiate (13)
NegotiateHandler.cs (13)
126Logger.Reauthenticating(); 142Logger.NegotiateError(errorType.ToString()); 153Logger.CredentialError(exception); 160Logger.ClientError(exception); 181Logger.IncompleteNegotiateChallenge(); 187Logger.NegotiateComplete(); 211Logger.DisablingCredentialPersistence(_negotiateState.Protocol); 220Logger.EnablingCredentialPersistence(); 228Logger.DisablingCredentialPersistence(_negotiateState.Protocol); 244Logger.ExceptionProcessingAuth(ex); 307Logger.ProtocolNotSupported(Request.Protocol); 352await LdapAdapter.RetrieveClaimsAsync(ldapContext.LdapSettings, (ldapContext.Principal.Identity as ClaimsIdentity)!, Logger); 396Logger.ChallengeNegotiate();
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
291Logger.HandleChallenge(location.ToString(), cookie.ToString());
Microsoft.AspNetCore.Authentication.OpenIdConnect (60)
OpenIdConnectHandler.cs (60)
138Logger.RemoteSignOutHandledResponse(); 143Logger.RemoteSignOutSkipped(); 169Logger.RemoteSignOutSessionIdMissing(); 175Logger.RemoteSignOutSessionIdInvalid(); 186Logger.RemoteSignOutIssuerMissing(); 192Logger.RemoteSignOutIssuerInvalid(); 197Logger.RemoteSignOut(); 219Logger.EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(GetType().FullName!); 244Logger.PostSignOutRedirect(properties.RedirectUri); 257Logger.RedirectToIdentityProviderForSignOutHandledResponse(); 280Logger.InvalidLogoutQueryStringRedirectUrl(redirectUri); 305Logger.AuthenticationSchemeSignedOut(Scheme.Name); 335Logger.SignOutCallbackRedirectHandledResponse(); 340Logger.SignOutCallbackRedirectSkipped(); 377Logger.HandleChallenge(location.ToString(), cookie.ToString()); 382Logger.EnteringOpenIdAuthenticationHandlerHandleUnauthorizedAsync(GetType().FullName!); 391Logger.PostAuthenticationLocalRedirect(properties.RedirectUri); 466Logger.RedirectToIdentityProviderHandledResponse(); 527Logger.InvalidAuthenticationRequestUrl(redirectUri); 563Logger.PushAuthorizationHandledClientAuthentication(); 579Logger.PushAuthorizationSkippedPush(); 585Logger.PushAuthorizationHandledPush(); 635Logger.EnteringOpenIdAuthenticationHandlerHandleRemoteAuthenticateAsync(GetType().FullName!); 703Logger.NullOrEmptyAuthorizationResponseState(); 716Logger.UnableToReadAuthorizationResponseState(); 754Logger.UpdatingConfiguration(); 768Logger.ReceivedIdToken(); 930Logger.ExceptionProcessingMessage(exception); 937Logger.ConfigurationManagerRequestRefreshCalled(); 989Logger.RedeemingCodeForTokens(); 997if (Logger.IsEnabled(LogLevel.Debug)) 1001Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type header is missing."); 1005Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type {responseMessage.Content.Headers.ContentType}."); 1048Logger.UserInfoEndpointNotSet(); 1053Logger.AccessTokenNotAvailable(); 1056Logger.RetrievingClaims(); 1200Logger.UnableToProtectNonceCookie(ex); 1210Logger.MessageReceived(message.BuildRedirectUrl()); 1221Logger.MessageReceivedContextHandledResponse(); 1225Logger.MessageReceivedContextSkipped(); 1247Logger.TokenValidatedHandledResponse(); 1251Logger.TokenValidatedSkipped(); 1260Logger.AuthorizationCodeReceived(); 1293Logger.AuthorizationCodeReceivedContextHandledResponse(); 1297Logger.AuthorizationCodeReceivedContextSkipped(); 1310Logger.TokenResponseReceived(); 1322Logger.TokenResponseReceivedHandledResponse(); 1326Logger.TokenResponseReceivedSkipped(); 1335Logger.UserInformationReceived(user.ToString()!); 1348Logger.UserInformationReceivedHandledResponse(); 1352Logger.UserInformationReceivedSkipped(); 1372Logger.AuthenticationFailedContextHandledResponse(); 1376Logger.AuthenticationFailedContextSkipped(); 1389Logger.UnableToReadIdToken(idToken); 1412Logger.InvalidSecurityTokenType(validatedToken?.GetType().ToString()); 1418Logger.UnableToValidateIdToken(idToken); 1467Logger.UnableToValidateIdTokenFromHandler(idToken); 1473Logger.InvalidSecurityTokenTypeFromHandler(validatedToken?.GetType()); 1520Logger.ResponseErrorWithStatusCode(message.Error, description, errorUri, (int)response.StatusCode); 1524Logger.ResponseError(message.Error, description, errorUri);
Microsoft.AspNetCore.Authentication.Twitter (5)
TwitterHandler.cs (5)
271Logger.ObtainRequestToken(); 296Logger.ObtainAccessToken(); 303Logger.LogError("AccessToken request failed with a status code of " + response.StatusCode); 322Logger.RetrieveUserDetails(); 328Logger.LogError("Email request failed with a status code of " + response.StatusCode);
Microsoft.AspNetCore.Authentication.WsFederation (8)
WsFederationHandler.cs (8)
139Logger.MalformedRedirectUri(redirectUri); 222Logger.SignInWithoutWResult(); 229Logger.SignInWithoutToken(); 353Logger.ExceptionProcessingMessage(exception); 460Logger.MalformedRedirectUri(redirectUri); 484Logger.RemoteSignOutHandledResponse(); 489Logger.RemoteSignOutSkipped(); 494Logger.RemoteSignOut();