7 writes to AuthenticationMethod
Microsoft.AspNetCore.Authentication.Test (7)
OpenIdConnect\OpenIdConnectChallengeTests.cs (5)
25opt.AuthenticationMethod = OpenIdConnectRedirectBehavior.RedirectGet; 56opt.AuthenticationMethod = OpenIdConnectRedirectBehavior.RedirectGet; 91opt.AuthenticationMethod = OpenIdConnectRedirectBehavior.RedirectGet; 153opt.AuthenticationMethod = OpenIdConnectRedirectBehavior.FormPost; 428o.AuthenticationMethod = method;
OpenIdConnect\OpenIdConnectTests.cs (2)
193o.AuthenticationMethod = OpenIdConnectRedirectBehavior.FormPost; 211o.AuthenticationMethod = OpenIdConnectRedirectBehavior.RedirectGet;
6 references to AuthenticationMethod
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (6)
275if (Options.AuthenticationMethod == OpenIdConnectRedirectBehavior.RedirectGet) 285else if (Options.AuthenticationMethod == OpenIdConnectRedirectBehavior.FormPost) 302throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.AuthenticationMethod}"); 488if (Options.AuthenticationMethod == OpenIdConnectRedirectBehavior.RedirectGet) 499else if (Options.AuthenticationMethod == OpenIdConnectRedirectBehavior.FormPost) 516throw new NotImplementedException($"An unsupported authentication method has been configured: {Options.AuthenticationMethod}");