Table of Contents

Class RoleDefaults

Namespace
Api.Constants
Assembly
Authentica.Service.Identity.dll

Constant values for roles available in the system by default.

public static class RoleDefaults
Inheritance
RoleDefaults
Inherited Members

Remarks

These roles will be embedded in the user's JWT token, as a role claim.

Fields

Admin

Represents the admin role.

public const string Admin = "Admin"

Field Value

string

Remarks

The maximum amount of access.

User

Represents the user role.

public const string User = "User"

Field Value

string

Remarks

The minimum amount of access.