Class KeycloakBaseAuthenticationBuilder
- Namespace
- Keycloak.AuthServices.Authentication
- Assembly
- Keycloak.AuthServices.Authentication.dll
Represents a base class for configuring Keycloak authentication in an application.
public class KeycloakBaseAuthenticationBuilder
- Inheritance
-
KeycloakBaseAuthenticationBuilder
- Derived
- Inherited Members
Constructors
KeycloakBaseAuthenticationBuilder(IServiceCollection, IConfigurationSection?)
Constructor.
protected KeycloakBaseAuthenticationBuilder(IServiceCollection services, IConfigurationSection? configurationSection = null)
Parameters
services
IServiceCollectionThe services being configured.
configurationSection
IConfigurationSectionOptional configuration section.
Properties
ConfigurationSection
Gets the configuration section from which to bind options.
protected IConfigurationSection? ConfigurationSection { get; set; }
Property Value
Remarks
It can be null if the configuration happens with delegates rather than configuration.
Services
Gets the services being configured.
public IServiceCollection Services { get; }