The permissions object defining access levels and ACLs.
The configuration object for the authorizer.
Optionalcreds: 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.
OptionalonlySelf: booleanOptionalonlySelf: booleanOptionalraw: boolean
Constructs an instance of the Authorizer class with the provided permissions, configuration, and credentials.