iya-sts
    Preparing search index...

    Variable refreshRefusal

    refreshRefusal: (
        asked: {
            clientId?: string;
            grantAt?: unknown;
            grantType?: string;
            scope?: string;
            username?: string;
        },
    ) => { description: string; errorCode: string; reason: string; scope: any } = ...

    Type Declaration

      • (
            asked: {
                clientId?: string;
                grantAt?: unknown;
                grantType?: string;
                scope?: string;
                username?: string;
            },
        ): { description: string; errorCode: string; reason: string; scope: any }
      • Decides whether a grant still stands, for the refresh grant, in every mode.

        Refused when the person or the application's global consent withdrew a carried scope at or after the grant (STS-OAUTH-0615), or, for a grant made at the authorization endpoint while consent and oauth2.refreshRequiresConsent are on, when nothing covers a scope (STS-OAUTH-0616).

        Parameters

        • asked: {
              clientId?: string;
              grantAt?: unknown;
              grantType?: string;
              scope?: string;
              username?: string;
          }

          username, clientId, scope, grantAt (the refresh token's grant_at) and grantType

        Returns { description: string; errorCode: string; reason: string; scope: any }

        the refusal with its code, or null when the grant stands