18 references to UpdateTokenValue
Microsoft.AspNetCore.Authentication.Core.Test (5)
TokenExtensionTests.cs (5)
91
Assert.True(props.
UpdateTokenValue
("One", ".11"));
92
Assert.True(props.
UpdateTokenValue
("Two", ".22"));
93
Assert.True(props.
UpdateTokenValue
("Three", ".33"));
114
Assert.False(props.
UpdateTokenValue
("ONE", ".11"));
115
Assert.False(props.
UpdateTokenValue
("Jigglypuff", ".11"));
Microsoft.AspNetCore.Authentication.Test (5)
TokenExtensionTests.cs (5)
87
Assert.True(props.
UpdateTokenValue
("One", ".11"));
88
Assert.True(props.
UpdateTokenValue
("Two", ".22"));
89
Assert.True(props.
UpdateTokenValue
("Three", ".33"));
110
Assert.False(props.
UpdateTokenValue
("ONE", ".11"));
111
Assert.False(props.
UpdateTokenValue
("Jigglypuff", ".11"));
OpenIdConnectSample (3)
Startup.cs (3)
267
props.
UpdateTokenValue
("access_token", payload.RootElement.GetString("access_token"));
268
props.
UpdateTokenValue
("refresh_token", payload.RootElement.GetString("refresh_token"));
272
props.
UpdateTokenValue
("expires_at", expiresAt.ToString("o", CultureInfo.InvariantCulture));
SocialSample (5)
Startup.cs (5)
337
authProperties.
UpdateTokenValue
("access_token", payload.RootElement.GetString("access_token"));
341
authProperties.
UpdateTokenValue
("refresh_token", refreshToken);
346
authProperties.
UpdateTokenValue
("expires_at", expiresAt.ToString("o", CultureInfo.InvariantCulture));
372
authProperties.
UpdateTokenValue
("access_token", payload.RootElement.GetString("access_token"));
376
authProperties.
UpdateTokenValue
("expires_at", expiresAt.ToString("o", CultureInfo.InvariantCulture));