• This function can be used to determine if a management user is allowed to consume a specific operation. If the authorization fails, an AxGuard error is thrown.

    Parameters

    • options: GqlAuthorizationOptions

      a GqlAuthorizationOptions object.

    • ensureOnlyAuthentication: boolean

      a boolean value indicating if authorization validations should be performed or checking for authentication is sufficient.

    • subject: undefined | GenericAuthenticatedSubject

      A GenericAuthenticatedSubject

    • authErrorInfo: undefined | MosaicErrorInfo

      MosaicErrorInfo

    Returns void

Generated using TypeDoc