iya-sts
    Preparing search index...
    refusal: (scope: unknown, clientId: unknown, opts?: JudgeOptions) => any = ...

    Type Declaration

      • (scope: unknown, clientId: unknown, opts?: JudgeOptions): any
      • Returns the refusal an endpoint sends as invalid_scope, reporting a protected scope first, then device_sso, then an undeclared scope.

        Parameters

        • scope: unknown

          the requested scope

        • clientId: unknown

          the client_id

        • Optionalopts: JudgeOptions

          optional; defaults as for defaultScopes()

        Returns any

        null when the scope is allowed, otherwise { code, error, description, scopes }