iya-sts
    Preparing search index...

    Variable revokeIssuedUnder

    revokeIssuedUnder: (
        asked: {
            clientId: string;
            scopes: string[];
            spare?: (holder: string) => boolean;
            username?: string;
        },
        via: string,
        how?: { initiatingEntity?: string },
    ) => number = ...

    Type Declaration

      • (
            asked: {
                clientId: string;
                scopes: string[];
                spare?: (holder: string) => boolean;
                username?: string;
            },
            via: string,
            how?: { initiatingEntity?: string },
        ): number
      • Revokes every access and refresh token of a client whose scope names one of the given scopes, for one person or for everybody less those spare answers true for.

        A refresh token takes its whole grant with it.

        Parameters

        • asked: {
              clientId: string;
              scopes: string[];
              spare?: (holder: string) => boolean;
              username?: string;
          }

          username (optional), clientId, scopes and spare

        • via: string

          what caused it, for the revocation record

        • Optionalhow: { initiatingEntity?: string }

          initiatingEntity, for the audit row

        Returns number

        the number of tokens newly revoked