Table of Contents

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 IServiceCollection

The services being configured.

configurationSection IConfigurationSection

Optional configuration section.

Properties

ConfigurationSection

Gets the configuration section from which to bind options.

protected IConfigurationSection? ConfigurationSection { get; set; }

Property Value

IConfigurationSection

Remarks

It can be null if the configuration happens with delegates rather than configuration.

Services

Gets the services being configured.

public IServiceCollection Services { get; }

Property Value

IServiceCollection