Docs
chromia.com

Function

hasAuthDescriptorFlags

  • hasAuthDescriptorFlags(
        authDescriptor: AnyAuthDescriptorRegistration | AnyAuthDescriptor,
        requiredFlags: string[],
    ): boolean

    Checks if the provided auth descriptor has the specified flags.

    Parameters

    Returns boolean

    true if the specified auth descriptor has all the specified flags, else false.