@health-samurai/aidbox-client
    Preparing search index...

    Type Alias PendingAuthorization

    In-flight authorization request — created by authorize, consumed by exchangeCode.

    Hosts persist this object briefly (typically in a server-side session, keyed by stateNonce) between the authorize redirect and the callback. Lifetime is seconds-to-minutes; once exchangeCode succeeds it can be discarded. Confidential client secrets are intentionally not stored here — only the usesClientSecret flag is persisted.

    type PendingAuthorization = {
        serverUrl: string;
        clientId: string;
        usesClientSecret?: true;
        redirectUri: string;
        scope: string;
        authorizationServerIssuer?: string;
        authorizeUri: string;
        tokenUri: string;
        revocationUri?: string;
        stateNonce: string;
        codeVerifier?: string;
        codeChallengeMethod?: "S256";
    }
    Index

    Properties

    serverUrl: string
    clientId: string
    usesClientSecret?: true
    redirectUri: string
    scope: string
    authorizationServerIssuer?: string
    authorizeUri: string
    tokenUri: string
    revocationUri?: string
    stateNonce: string
    codeVerifier?: string
    codeChallengeMethod?: "S256"