31 references to WsFederationDefaults
Microsoft.AspNetCore.Authentication.Test (24)
WsFederation\WsFederationTest.cs (12)
41
var scheme = await schemeProvider.GetSchemeAsync(
WsFederationDefaults
.AuthenticationScheme);
44
Assert.Equal(
WsFederationDefaults
.AuthenticationScheme, scheme.DisplayName);
60
sharedOptions.DefaultChallengeScheme =
WsFederationDefaults
.AuthenticationScheme;
145
Assert.Equal(
WsFederationDefaults
.AuthenticationScheme, await response.Content.ReadAsStringAsync());
172
Assert.Equal(
WsFederationDefaults
.AuthenticationScheme, await response.Content.ReadAsStringAsync());
220
sharedOptions.DefaultChallengeScheme =
WsFederationDefaults
.AuthenticationScheme;
293
sharedOptions.DefaultChallengeScheme =
WsFederationDefaults
.AuthenticationScheme;
379
await context.ChallengeAsync(
WsFederationDefaults
.AuthenticationScheme);
392
await context.SignOutAsync(
WsFederationDefaults
.AuthenticationScheme, authProperties);
422
await context.ChallengeAsync(
WsFederationDefaults
.AuthenticationScheme);
431
await context.ChallengeAsync(
WsFederationDefaults
.AuthenticationScheme);
449
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()