• Is user organization owner validator

    Parameters

    • Rest ...ts: [authSecrets: AuthSecrets, authenticate: AuthenticationFunction, targetField: TargetField, organizationAPI: OrganizationDefaultAdapterAPI, logger: Logger, context: AdapterHandlerContext]

    Returns Promise<number>

    Description

    This validator is used to check if the user is the organization owner by applying the following steps in sequence:

    1. Call isUserInOrganizationRoles with role 'owner'

Generated using TypeDoc