7 writes to AuthenticationMethod
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectChallengeTests.cs (5)
28
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
59
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
94
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
156
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.FormPost;
431
o.
AuthenticationMethod
= method;
OpenIdConnect\OpenIdConnectTests.cs (2)
193
o.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.FormPost;
211
o.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
6 references to AuthenticationMethod
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (6)
275
if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.RedirectGet)
285
else if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.FormPost)
302
throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.
AuthenticationMethod
}");
522
if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.RedirectGet)
533
else if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.FormPost)
550
throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.
AuthenticationMethod
}");