9 references to GetTokenAsync
Microsoft.AspNetCore.Authentication.Core.Test (3)
TokenExtensionTests.cs (3)
134Assert.Equal("1", await context.GetTokenAsync("One")); 135Assert.Equal("2", await context.GetTokenAsync("Two")); 136Assert.Equal("3", await context.GetTokenAsync("Three"));
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
1206var token = await context.GetTokenAsync("access_token");
JwtBearerTests_Handler.cs (1)
1273var token = await context.GetTokenAsync("access_token");
SocialSample (4)
Startup.cs (4)
458await response.WriteAsync("Access Token: " + await context.GetTokenAsync("access_token") + "<br>"); 459await response.WriteAsync("Refresh Token: " + await context.GetTokenAsync("refresh_token") + "<br>"); 460await response.WriteAsync("Token Type: " + await context.GetTokenAsync("token_type") + "<br>"); 461await response.WriteAsync("expires_at: " + await context.GetTokenAsync("expires_at") + "<br>");