Class AuthAuxiliaryReader

Determines the permission for authorization resources (such as ACL or ACR). In contrast to the regular resource mechanism, read/write access to authorization resources is obtained by setting Control permissions on the corresponding subject resource rather than directly setting permissions for the authorization resource itself. Hence, this class transforms Control permissions on the subject resource to Read/Write permissions on the authorization resource.

Hierarchy

Constructors

Properties

authStrategy: AuxiliaryStrategy
logger: Logger = ...

Methods

  • Checks if the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.

    Parameters

    Returns Promise<void>

    A promise resolving if the input can be handled, rejecting with an Error if not.