Class KeycloakAuthenticationOptions
- Namespace
- Keycloak.AuthServices.Authentication
- Assembly
- Keycloak.AuthServices.Authentication.dll
Defines a set of options used to perform authentication
public class KeycloakAuthenticationOptions : KeycloakInstallationOptions
- Inheritance
-
KeycloakAuthenticationOptions
- Inherited Members
Fields
Section
Default section name.
public const string Section = "Keycloak"
Field Value
Properties
Audience
Gets or sets the audience for the authentication. Takes priority over Resource.
public string? Audience { get; set; }
Property Value
DisableRolesAccessTokenMapping
Gets or sets the roles mapping from access_token mapping
public bool DisableRolesAccessTokenMapping { get; set; }
Property Value
NameClaimType
Gets or sets the claim type used for the name.
public string NameClaimType { get; set; }
Property Value
OpenIdConnectUrl
Gets the OpenId Connect URL to discover OAuth2 configuration values.
public string? OpenIdConnectUrl { get; }
Property Value
RoleClaimType
Gets or sets the claim type used for roles.
public string RoleClaimType { get; set; }