@edgible-team/sdk
    Preparing search index...

    Interface StoredCredentials

    The session shape a CredentialStore persists between requests/processes.

    interface StoredCredentials {
        accessToken?: string;
        expiresAt?: number;
        idToken?: string;
        refreshToken?: string;
        serviceAccount?: { keyId: string; secret: string };
    }
    Index

    Properties

    accessToken?: string

    Cognito access token.

    expiresAt?: number

    Epoch ms when the idToken expires (derived from its exp claim).

    idToken?: string

    Cognito ID token — the bearer token the platform actually accepts.

    refreshToken?: string

    Cognito refresh token, used to obtain fresh access/id tokens.

    serviceAccount?: { keyId: string; secret: string }

    Service-account key pair (backend support pending, D7).