oidc-caep-client
    Preparing search index...

    Type Alias AccountHook

    AccountHook: (
        account: Account,
        access: {
            getTokenSet: (opts?: { forceRefresh?: boolean }) => Promise<TokenSet>;
        },
    ) => unknown

    Type Declaration

      • (
            account: Account,
            access: {
                getTokenSet: (opts?: { forceRefresh?: boolean }) => Promise<TokenSet>;
            },
        ): unknown
      • Parameters

        • account: Account
        • access: { getTokenSet: (opts?: { forceRefresh?: boolean }) => Promise<TokenSet> }

          Reaches this account's tokens during the hook (and, for onActivate, for as long as it stays active).

        Returns unknown