Setu-TS
    Preparing search index...

    Interface RefreshTokenOptions

    Options for constructing a RefreshTokenService.

    interface RefreshTokenOptions {
        accessToken?: { audience?: string; expiresIn?: string; issuer?: string };
        accessTokenRevocationStore?: IAccessTokenRevocationStore;
        jwt: IJwtService;
        refreshTokenExpiresIn?: string;
        runtime: IRuntimeServices;
        store: RefreshTokenStore;
    }
    Index
    accessToken?: { audience?: string; expiresIn?: string; issuer?: string }

    Optional access token options (passed through to jwt.sign).

    accessTokenRevocationStore?: IAccessTokenRevocationStore

    Optional shared store for invalidating paired access tokens at logout or refresh-token replay. Requires accessToken.expiresIn so entries remain bounded.

    The JWT service used to sign/verify tokens.

    refreshTokenExpiresIn?: string

    Refresh token lifetime (default: '7d').

    Runtime services for random bytes and clock.

    The store backing refresh tokens.