iya-sts
    Preparing search index...
    covers: (held: unknown, need: string) => boolean = ...

    Type Declaration

      • (held: unknown, need: string): boolean
      • Tells whether a token's scopes cover an operation: some name it holds grants the permission. Any other need is covered.

        Parameters

        • held: unknown

          the token's scope string, or a list of names

        • need: string

          read, write, or anything else

        Returns boolean

        true when the token may attempt the operation