a GqlAuthorizationOptions object. The options and endUserAuthorizationConfig properties are mandatory.
a boolean value indicating if authorization validations should be performed or checking for authentication is sufficient.
A GenericAuthenticatedSubject
AxGuardErrorInfo
an AxGuardError if the authorization fails.
Generated using TypeDoc
This function can be used to determine if a end user is allowed to consume a specific operation. If the authorization fails, an AxGuard error is thrown.