Implemented interface member:
2 overrides of AuthenticationType
System.Security.Claims (1)
System\Security\Claims\GenericIdentity.cs (1)
66public override string AuthenticationType
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
247public sealed override string? AuthenticationType { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); } }
17 references to AuthenticationType
Microsoft.AspNetCore.Authentication (1)
TicketSerializer.cs (1)
83var authenticationType = identity.AuthenticationType ?? string.Empty;
Microsoft.AspNetCore.Authentication.Test (3)
CookieTests.cs (1)
1783if (!p.Identities.Any(i => i.AuthenticationType == "xform"))
GoogleTests.cs (1)
1134if (!p.Identities.Any(i => i.AuthenticationType == "xform"))
TicketSerializerTests.cs (1)
76Assert.Equal("actor", identity.Actor.AuthenticationType);
Microsoft.AspNetCore.Authorization.Test (4)
AuthorizationMiddlewareTests.cs (3)
829var res = AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(c.User.Identities.FirstOrDefault(i => i.AuthenticationType == scheme)), scheme)); 836var res = AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(c.User.Identities.FirstOrDefault(i => i.AuthenticationType == scheme)), scheme)); 925var res = AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(c.User.Identities.FirstOrDefault(i => i.AuthenticationType == scheme)), scheme));
TestObjects\TestAuthenticationService.cs (1)
24var identity = context.User.Identities.SingleOrDefault(i => i.AuthenticationType == scheme);
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
125principal.Identities.Any(i => i.AuthenticationType == AuthenticationScheme);
Microsoft.AspNetCore.Identity.Test (4)
SignInManagerTest.cs (3)
382&& i.Identities.First().AuthenticationType == IdentityConstants.TwoFactorRememberMeScheme), 696&& i.Identities.First().AuthenticationType == IdentityConstants.TwoFactorRememberMeScheme), 760&& i.Identities.First().AuthenticationType == IdentityConstants.TwoFactorRememberMeScheme),
UserClaimsPrincipalFactoryTest.cs (1)
93Assert.Equal(IdentityConstants.ApplicationScheme, identity.AuthenticationType);
SocialSample (1)
Startup.cs (1)
303var currentAuthType = user.Identities.First().AuthenticationType;
System.Security.Claims (3)
System\Security\Claims\ClaimsIdentity.cs (3)
62/// <param name="identity"><see cref="IIdentity"/> supplies the <see cref="Name"/> and <see cref="AuthenticationType"/>.</param> 104/// <param name="identity"><see cref="IIdentity"/> supplies the <see cref="Name"/> and <see cref="AuthenticationType"/>.</param> 140/// <param name="identity"><see cref="IIdentity"/> supplies the <see cref="Name"/> and <see cref="AuthenticationType"/>.</param>