31 references to WsFederationDefaults
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 (5)
WsFederationExtensions.cs (3)
22
=> builder.AddWsFederation(
WsFederationDefaults
.AuthenticationScheme, _ => { });
31
=> builder.AddWsFederation(
WsFederationDefaults
.AuthenticationScheme, configureOptions);
41
=> builder.AddWsFederation(authenticationScheme,
WsFederationDefaults
.DisplayName, configureOptions);
WsFederationHandler.cs (2)
131
properties.Items[
WsFederationDefaults
.UserstatePropertiesKey] = wsFederationMessage.Wctx;
197
properties.Items.TryGetValue(
WsFederationDefaults
.UserstatePropertiesKey, out var userState);
WsFedSample (2)
Startup.cs (2)
27
sharedOptions.DefaultChallengeScheme =
WsFederationDefaults
.AuthenticationScheme;
71
await context.SignOutAsync(
WsFederationDefaults
.AuthenticationScheme, new AuthenticationProperties()