15 references to OpenIdConnectRedirectBehavior
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (4)
275
if (Options.AuthenticationMethod ==
OpenIdConnectRedirectBehavior
.RedirectGet)
285
else if (Options.AuthenticationMethod ==
OpenIdConnectRedirectBehavior
.FormPost)
522
if (Options.AuthenticationMethod ==
OpenIdConnectRedirectBehavior
.RedirectGet)
533
else if (Options.AuthenticationMethod ==
OpenIdConnectRedirectBehavior
.FormPost)
OpenIdConnectOptions.cs (2)
212
public
OpenIdConnectRedirectBehavior
AuthenticationMethod { get; set; } =
OpenIdConnectRedirectBehavior
.RedirectGet;
Microsoft.AspNetCore.Authentication.Test (9)
OpenIdConnect\OpenIdConnectChallengeTests.cs (7)
28
opt.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.RedirectGet;
59
opt.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.RedirectGet;
94
opt.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.RedirectGet;
156
opt.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.FormPost;
425
[InlineData(
OpenIdConnectRedirectBehavior
.RedirectGet)]
426
[InlineData(
OpenIdConnectRedirectBehavior
.FormPost)]
427
public async Task ChallengeSetsNonceAndStateCookies(
OpenIdConnectRedirectBehavior
method)
OpenIdConnect\OpenIdConnectTests.cs (2)
193
o.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.FormPost;
211
o.AuthenticationMethod =
OpenIdConnectRedirectBehavior
.RedirectGet;