PermissionSecret Constructors
An object defining constructors for the PermissionSecret class.
PermissionSecret(id, code, permissionGroupId, tokenId)
Initializes a new instance of the PermissionSecret
class with the specified permission details and security token.
Parameters:
id (required): long
The unique identifier of the permission.
code (required): string
The code that identifies the permission.
permissionGroupId (required): long
The identifier of the permission group that contains this permission.
tokenId (required): string
The security token identifier inherited from the base secret class.
This constructor initializes a new permission secret by setting the provided permission details and passing the security token to the base constructor.