Class SecurityOptions
global security options
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public sealed class SecurityOptions
Properties
NameClaimType
specify a custom claim type used to identity the name of a user principal. defaults to name.
WARNING: do not change the default unless you fully comprehend what you're doing!!!
Declaration
public string NameClaimType { set; }
Property Value
| Type | Description |
|---|---|
| string |
PermissionsClaimType
specify a custom claim type used to identify permissions of a user principal. defaults to permissions.
WARNING: do not change the default unless you fully comprehend what you're doing!!!
Declaration
public string PermissionsClaimType { set; }
Property Value
| Type | Description |
|---|---|
| string |
RoleClaimType
specify a custom claim type used to identify roles of a user principal. defaults to role.
WARNING: do not change the default unless you fully comprehend what you're doing!!!
Declaration
public string RoleClaimType { set; }
Property Value
| Type | Description |
|---|---|
| string |