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