13 instantiations of AuthenticationToken
Microsoft.AspNetCore.Authentication.Abstractions (1)
TokenExtensions.cs (1)
108tokens.Add(new AuthenticationToken { Name = name, Value = token });
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
172new AuthenticationToken { Name = "access_token", Value = token }
Microsoft.AspNetCore.Authentication.OAuth (4)
OAuthHandler.cs (4)
152authTokens.Add(new AuthenticationToken { Name = "access_token", Value = tokens.AccessToken }); 155authTokens.Add(new AuthenticationToken { Name = "refresh_token", Value = tokens.RefreshToken }); 160authTokens.Add(new AuthenticationToken { Name = "token_type", Value = tokens.TokenType }); 171authTokens.Add(new AuthenticationToken
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
OpenIdConnectHandler.cs (5)
1121tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.AccessToken, Value = message.AccessToken }); 1126tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.IdToken, Value = message.IdToken }); 1131tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.RefreshToken, Value = message.RefreshToken }); 1136tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.TokenType, Value = message.TokenType }); 1146tokens.Add(new AuthenticationToken { Name = "expires_at", Value = expiresAt.ToString("o", CultureInfo.InvariantCulture) });
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
131new AuthenticationToken { Name = "access_token", Value = accessToken.Token }, 132new AuthenticationToken { Name = "access_token_secret", Value = accessToken.TokenSecret }
11 references to AuthenticationToken
Microsoft.AspNetCore.Authentication.Abstractions (6)
TokenExtensions.cs (6)
21public static void StoreTokens(this AuthenticationProperties properties, IEnumerable<AuthenticationToken> tokens) 28foreach (var t in oldTokens) 35foreach (var token in tokens) 91/// Returns all of the <see cref="AuthenticationToken"/> instances contained in the properties. 95public static IEnumerable<AuthenticationToken> GetTokens(this AuthenticationProperties properties) 99var tokens = new List<AuthenticationToken>();
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
150var authTokens = new List<AuthenticationToken>();
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1117var tokens = new List<AuthenticationToken>();
Microsoft.AspNetCore.Identity (3)
ExternalLoginInfo.cs (2)
34/// The <see cref="AuthenticationToken"/>s associated with this login. 36public IEnumerable<AuthenticationToken>? AuthenticationTokens { get; set; }
SignInManager.cs (1)
1140foreach (var token in externalLogin.AuthenticationTokens)