@qualithm/arrow-flight-client - v0.1.4
    Preparing search index...

    Type Alias AuthOptions

    AuthOptions:
        | { token: string; type: "bearer" }
        | { credentials: BasicAuthCredentials; type: "basic" }
        | { type: "none" }

    Authentication options for Flight client. Only one authentication method should be specified.

    Type Declaration

    • { token: string; type: "bearer" }
      • token: string

        Bearer token value.

      • type: "bearer"

        Bearer token authentication type.

    • { credentials: BasicAuthCredentials; type: "basic" }
      • credentials: BasicAuthCredentials

        Username and password credentials.

      • type: "basic"

        Basic authentication type using Flight Handshake.

    • { type: "none" }
      • type: "none"

        No authentication.

    • bearer: Sets Authorization header with Bearer token
    • basic: Uses Flight Handshake RPC with BasicAuth credentials
    • none: No authentication