Class KeycloakAuthorizationOptions
- Namespace
- Keycloak.AuthServices.Authorization
- Assembly
- Keycloak.AuthServices.Authorization.dll
Defines a set of options used to perform authentication
public class KeycloakAuthorizationOptions : KeycloakInstallationOptions
- Inheritance
-
KeycloakAuthorizationOptions
- Inherited Members
Fields
Section
Default section name.
public const string Section = "Keycloak"
Field Value
Properties
EnableRolesMapping
Determines the source for roles
public RolesClaimTransformationSource EnableRolesMapping { get; set; }
Property Value
RoleClaimType
Gets or sets the claim type used for roles.
public string RoleClaimType { get; set; }
Property Value
RolesResource
The name of the resource to be used for Roles mapping
public string? RolesResource { get; set; }