iya-sts
    Preparing search index...
    planFor: (asked: any) => any = ...

    Type Declaration

      • (asked: any): any
      • Plans what the grant will be once its tokens are claimed, after the person is known and has agreed.

        Parameters

        • asked: any

          params, clientId, sub, scope, resources, authorizationDetails, claims and stillConsented, a function keeping the earlier scopes a merge may carry forward

        Returns any

        { ok: true, plan } (plan null when no grant management was asked for), or a refusal