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