@grabjs/superapp-sdk
    Preparing search index...

    Type Alias GetAuthorizationArtifactsResponse

    GetAuthorizationArtifactsResponse:
        | { status_code: 204 }
        | { error: string; status_code: 400 }
        | {
            result: {
                codeVerifier: string;
                nonce: string;
                redirectUri: string;
                state: string;
            };
            status_code: 200;
        }

    Response when retrieving stored authorization artifacts.

    This response can have the following status codes:

    • 200: All artifacts present. The result contains the PKCE artifacts needed for token exchange.
    • 204: No artifacts yet - authorization has not been initiated.
    • 400: Inconsistent state - possible data corruption in storage.