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

    Class SmartAppLaunchAuthProvider<TUser>

    AuthProvider backed by a host-managed SmartSession.

    Adds Authorization: Bearer ... to outgoing requests, refreshes proactively before expiry, retries once on 401, and deduplicates concurrent refreshes. The provider never caches the session — the host's getSession/setSession callbacks are the single source of truth.

    Type Parameters

    Implements

    Index

    Constructors

    Methods

    • Parameters

      • input: RequestInfo | URL
      • Optionalinit: RequestInit

      Returns Promise<Response>

    Properties

    baseUrl: string