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

    Interface RedeemShortCodeResult

    Result of redeeming a short code (the backend mints a session + exchange token).

    interface RedeemShortCodeResult {
        applicationId: string;
        exchangeToken: string;
        expiresAt: string;
        hostnames?: string[];
        organizationId: string;
        success: boolean;
    }
    Index

    Properties

    applicationId: string
    exchangeToken: string

    One-time exchange token to hand to the application's auth service.

    expiresAt: string

    ISO session expiry.

    hostnames?: string[]

    The application's full hostname set (generated AND custom domains). Open-redirect guard: the webapp validates an access link's return destination against this set before bouncing the exchange token to it. Optional for compatibility with backends that predate 2026-08-25.

    organizationId: string
    success: boolean