HTTP authentication scheme

Hierarchy (view full)

Constructors

  • Constructor for HttpScheme

    Parameters

    • config: {
          scheme:
              | "basic"
              | "bearer"
              | "digest"
              | "other";
          bearerFormat?: string;
          description?: string;
      }
      • scheme:
            | "basic"
            | "bearer"
            | "digest"
            | "other"
      • OptionalbearerFormat?: string
      • Optionaldescription?: string

    Returns HttpScheme

Properties

The type of authentication scheme

scheme:
    | "basic"
    | "bearer"
    | "digest"
    | "other"

The HTTP authentication scheme

bearerFormat?: string

Bearer format when scheme is 'bearer'

description?: string

Description of the scheme