51 writes to Name
Identity.ExternalClaims (1)
Startup.cs (1)
54tokens.Add(new AuthenticationToken() { Name = "TicketCreated", Value = DateTime.UtcNow.ToString(CultureInfo.InvariantCulture) });
Microsoft.AspNetCore.Authentication.Abstractions (1)
TokenExtensions.cs (1)
108tokens.Add(new AuthenticationToken { Name = name, Value = token });
Microsoft.AspNetCore.Authentication.Core.Test (19)
TokenExtensionTests.cs (19)
17var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 18var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 19var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 36var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 37var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 38var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 45props.StoreTokens(new[] { new AuthenticationToken { Name = "Zero", Value = "0" } }); 59var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 60var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 61var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 83var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 84var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 85var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 106var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 107var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 108var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 158var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 159var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 160var tok3 = new AuthenticationToken { Name = "Three", Value = "3" };
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 }); 173Name = "expires_at",
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
OpenIdConnectHandler.cs (5)
1120tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.AccessToken, Value = message.AccessToken }); 1125tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.IdToken, Value = message.IdToken }); 1130tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.RefreshToken, Value = message.RefreshToken }); 1135tokens.Add(new AuthenticationToken { Name = OpenIdConnectParameterNames.TokenType, Value = message.TokenType }); 1145tokens.Add(new AuthenticationToken { Name = "expires_at", Value = expiresAt.ToString("o", CultureInfo.InvariantCulture) });
Microsoft.AspNetCore.Authentication.Test (16)
TokenExtensionTests.cs (16)
13var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 14var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 15var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 32var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 33var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 34var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 41props.StoreTokens(new[] { new AuthenticationToken { Name = "Zero", Value = "0" } }); 55var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 56var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 57var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 79var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 80var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 81var tok3 = new AuthenticationToken { Name = "Three", Value = "3" }; 102var tok1 = new AuthenticationToken { Name = "One", Value = "1" }; 103var tok2 = new AuthenticationToken { Name = "Two", Value = "2" }; 104var tok3 = new AuthenticationToken { Name = "Three", Value = "3" };
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 }
Microsoft.AspNetCore.Identity.InMemory.Test (2)
ControllerTest.cs (2)
73new AuthenticationToken { Name = "refresh_token", Value = "refresh" }, 74new AuthenticationToken { Name = "access_token", Value = "access" }
8 references to Name
Microsoft.AspNetCore.Authentication.Abstractions (4)
TokenExtensions.cs (4)
30properties.Items.Remove(TokenKeyPrefix + t.Name); 37if (token.Name is null) 43tokenNames.Add(token.Name); 44properties.Items[TokenKeyPrefix + token.Name] = token.Value;
Microsoft.AspNetCore.Authentication.Test (1)
TestExtensions.cs (1)
73xml.Add(new XElement("token", new XAttribute("name", token.Name),
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
739var result = await UserManager.SetAuthenticationTokenAsync(user, externalLogin.LoginProvider, token.Name, token.Value);
OpenIdConnectSample (2)
Startup.cs (2)
283await WriteTableHeader(res, new string[] { "Token Type", "Value" }, props.GetTokens().Select(token => new string[] { token.Name, token.Value })); 322await WriteTableHeader(res, new string[] { "Token Type", "Value" }, props.GetTokens().Select(token => new string[] { token.Name, token.Value }));