The permissions object defining access levels and ACLs.
The configuration object for the authorizer.
Optional
creds: AuthorizerCredentialsThe credentials object for authentication.
Asynchronously authenticates the user based on permissions and access levels.
A promise that resolves to true if authentication is successful, or a ResponseErrorType object if there is an error.
Optional
onlySelf: booleanOptional
onlySelf: booleanOptional
raw: boolean
Constructs an instance of the Authorizer class with the provided permissions, configuration, and credentials.