57 writes to Value
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 (22)
TokenExtensionTests.cs (22)
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" }; 67tok1.Value = ".1"; 68tok2.Value = ".2"; 69tok3.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 }); 174Value = expiresAt.ToString("o", CultureInfo.InvariantCulture)
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 (19)
TokenExtensionTests.cs (19)
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" }; 63tok1.Value = ".1"; 64tok2.Value = ".2"; 65tok3.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" }
5 references to Value
Microsoft.AspNetCore.Authentication.Abstractions (1)
TokenExtensions.cs (1)
44properties.Items[TokenKeyPrefix + token.Name] = token.Value;
Microsoft.AspNetCore.Authentication.Test (1)
TestExtensions.cs (1)
74new XAttribute("value", token.Value)));
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 }));