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)
200
o.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.FormPost;
218
o.
AuthenticationMethod
= OpenIdConnectRedirectBehavior.RedirectGet;
6 references to AuthenticationMethod
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (6)
280
if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.RedirectGet)
290
else if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.FormPost)
307
throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.
AuthenticationMethod
}");
526
if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.RedirectGet)
537
else if (Options.
AuthenticationMethod
== OpenIdConnectRedirectBehavior.FormPost)
554
throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.
AuthenticationMethod
}");