iya-sts
    Preparing search index...

    Variable stillDeclared

    stillDeclared: (held: unknown, declared: string[], need: string) => boolean = ...

    Type Declaration

      • (held: unknown, declared: string[], need: string): boolean
      • Tells whether an operation the token covers is still declared: the token holds a name granting the permission, and the client still declares a name granting it. A need other than read or write is still declared.

        Parameters

        • held: unknown

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

        • declared: string[]

          the client's oauthAllowedScope, or null

        • need: string

          read, write, or anything else

        Returns boolean

        true when the operation may still be honoured