@honua/sdk-js
    Preparing search index...

    Interface StoredCredential

    A persisted OAuth2 credential. Access/refresh tokens plus expiry are stored in a CredentialStore; the SDK only ever attaches accessToken as a bearer credential and uses refreshToken/expiresAt to drive silent refresh.

    interface StoredCredential {
        accessToken: string;
        expiresAt?: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
        tokenType?: string;
    }
    Index

    Properties

    accessToken: string

    The bearer access token attached to outgoing requests.

    expiresAt?: number

    Absolute expiry as epoch milliseconds (from expires_in).

    idToken?: string

    OpenID Connect ID token, when present (never sent to resource servers).

    refreshToken?: string

    Refresh token, when the authorization server issued one.

    scope?: string

    Granted scope string, if the token response narrowed it.

    tokenType?: string

    Token type from the token response; defaults to Bearer.