28 references to AuthenticationScheme
Microsoft.AspNetCore.Authentication.Test (24)
WsFederation\WsFederationTest.cs (12)
34
var scheme = await schemeProvider.GetSchemeAsync(WsFederationDefaults.
AuthenticationScheme
);
37
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, scheme.DisplayName);
53
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
138
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, await response.Content.ReadAsStringAsync());
165
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, await response.Content.ReadAsStringAsync());
213
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
286
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
372
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
385
await context.SignOutAsync(WsFederationDefaults.
AuthenticationScheme
, authProperties);
415
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
424
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
442
await context.Response.WriteAsync(WsFederationDefaults.
AuthenticationScheme
);
WsFederation\WsFederationTest_Handler.cs (12)
32
var scheme = await schemeProvider.GetSchemeAsync(WsFederationDefaults.
AuthenticationScheme
);
35
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, scheme.DisplayName);
51
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
136
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, await response.Content.ReadAsStringAsync());
163
Assert.Equal(WsFederationDefaults.
AuthenticationScheme
, await response.Content.ReadAsStringAsync());
211
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
284
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
368
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
381
await context.SignOutAsync(WsFederationDefaults.
AuthenticationScheme
, authProperties);
411
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
420
await context.ChallengeAsync(WsFederationDefaults.
AuthenticationScheme
);
438
await context.Response.WriteAsync(WsFederationDefaults.
AuthenticationScheme
);
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationExtensions.cs (2)
22
=> builder.AddWsFederation(WsFederationDefaults.
AuthenticationScheme
, _ => { });
31
=> builder.AddWsFederation(WsFederationDefaults.
AuthenticationScheme
, configureOptions);
WsFedSample (2)
Startup.cs (2)
27
sharedOptions.DefaultChallengeScheme = WsFederationDefaults.
AuthenticationScheme
;
71
await context.SignOutAsync(WsFederationDefaults.
AuthenticationScheme
, new AuthenticationProperties()