7 writes to AuthenticationMethod
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectChallengeTests.cs (5)
25
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
56
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
91
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
153
opt.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.FormPost;
428
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
}");
488
if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.RedirectGet)
499
else if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.FormPost)
516
throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.
AuthenticationMethod
}");