protected override void PostConfigure(string schemeName, OpenIdConnectOptions options) { options.SignInScheme ??= AuthOptions.DefaultSignInScheme ?? AuthOptions.DefaultScheme; var go = new OpenIdConnectPostConfigureOptions(_dataProtectionProvider); go.PostConfigure(schemeName, options); }
public AuthController( IAuthenticationSchemeProvider schemeProvider, IOptionsMonitorCache <SimpleOptions> optionsCache, IOptionsMonitorCache <OpenIdConnectOptions> openIdConnectOptionsCache, OpenIdConnectPostConfigureOptions openIdConnectPostConfigureOptions) { _schemeProvider = schemeProvider; _optionsCache = optionsCache; _openIdConnectOptionsCache = openIdConnectOptionsCache; _openIdConnectPostConfigureOptions = openIdConnectPostConfigureOptions; }
public AuthSchemeProvider(IAuthenticationSchemeProvider schemeProvider, IOptionsMonitorCache <OpenIdConnectOptions> openIdOptions, OpenIdConnectPostConfigureOptions oidPostConfOptions, IOptionsMonitorCache <Saml2pAuthenticationOptions> saml2pOptions, IHttpContextAccessor httpContextAccessor, IIdentityServerInteractionService interaction, IOptionsMonitorCache <SpOptions> samlSpOptions, IOptionsMonitorCache <IdpOptions> samlIdpOptions, Repository repo) { _schemeProvider = schemeProvider; _openIdOptions = openIdOptions; _saml2pOptions = saml2pOptions; _httpContextAccessor = httpContextAccessor; _interaction = interaction; _repo = repo; _oidPostConfOptions = oidPostConfOptions; _samlSpOptions = samlSpOptions; _samlIdpOptions = samlIdpOptions; }