Axinom Mosaic Libraries
    Preparing search index...

    Function handleManagementUserAuthorization

    • 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: GenericAuthenticatedSubject | undefined

        A GenericAuthenticatedSubject

      • authErrorInfo: MosaicErrorInfo | undefined

        MosaicErrorInfo

      Returns void