public static AuthenticationInformationBuilder UseLocalProvider(this AuthenticationInformationBuilder builder) { builder.UseAuthenticationProvider(new LocalAuthenticationConfiguration()); var parameters = builder.AuthenticationInformation.TokenValidationParameters; parameters.IssuerSigningKeyResolver = null; parameters.IssuerSigningKey = LocalAuthentication.SecurityKey; return(builder); }
public static AuthenticationInformationBuilder UseIdentityServerProvider(this AuthenticationInformationBuilder builder) { return(builder.UseAuthenticationProvider(new IdentityServerAuthenticationConfiguration())); }
public static AuthenticationInformationBuilder UseAuth0Provider(this AuthenticationInformationBuilder builder) { return(builder.UseAuthenticationProvider(new Auth0AuthenticationConfiguration())); }