Skip to main content

Interface: AuthSelector

@divine/uri.AuthSelector

Provides authentication for URI and its subclasses..

Hierarchy​

  • SelectorBase

    ↳ AuthSelector

Properties​

credentials​

• credentials: Credentials | CredentialsProvider<Credentials> | AuthScheme<Credentials>

The credentials or credential provider to use for authentication.

Defined in​

uri/src/selectors.ts:40


preemptive​

• Optional preemptive: boolean

Set to true to send credentials even before requested by the server.

Defined in​

uri/src/selectors.ts:43


selector​

• Optional selector: Selector

The selector that must match for this configuration to apply.

Inherited from​

SelectorBase.selector

Defined in​

uri/src/selectors.ts:34