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

    Type Alias SmartBackendServicesConfig

    type SmartBackendServicesConfig = {
        baseUrl: string;
        clientId: string;
        privateKey: CryptoKey;
        keyId: string;
        scope: string;
        tokenExpirationBuffer?: number;
        allowInsecureRequests?: boolean;
    }
    Index

    Properties

    baseUrl: string

    FHIR server base URL

    clientId: string

    OAuth 2.0 client ID

    privateKey: CryptoKey

    Private key for signing JWTs (CryptoKey from Web Crypto API)

    keyId: string

    Key ID (kid) - must match the kid in JWKS registered on the server

    scope: string

    OAuth 2.0 scopes (e.g., "system/*.read")

    tokenExpirationBuffer?: number

    Token expiration buffer in seconds (refresh token this many seconds before expiry, default: 30)

    allowInsecureRequests?: boolean

    Allow insecure HTTP requests (for testing only, default: false)