Function
hasAuthDescriptorFlags
hasAuthDescriptorFlags( authDescriptor: AnyAuthDescriptorRegistration | AnyAuthDescriptor, requiredFlags: string[], ): booleanChecks if the provided auth descriptor has the specified flags.
Parameters
- authDescriptor: AnyAuthDescriptorRegistration | AnyAuthDescriptor
auth descriptor-like object to check flags for
- requiredFlags: string[]
the flags to check for
Returns boolean
true if the specified auth descriptor has all the specified flags, else false.
- authDescriptor: AnyAuthDescriptorRegistration | AnyAuthDescriptor