PermissionSecret
Represents a secure identifier for a permission, containing the permission's ID, code, and associated permission group information.
This class extends BaseSecret to provide secure identification for permissions. It combines unique identifiers and permission metadata with inherited security token functionality.
Properties
Name | Description |
---|---|
Id | Gets the unique identifier of the permission. |
TokenId | The unique identifier associated with the secret token. |
PermissionGroupId | Gets the identifier of the permission group that contains this permission. |
RandomValue | A randomly generated value, created when the secret is initialized. |
Code | Gets the code that identifies the permission. |
Constructors
Name | Description |
---|---|
PermissionSecret(id, code, permissionGroupId, tokenId) | Initializes a new instance of the PermissionSecret class with the specified permission details and security token. |