IAadHttpClientOptions interface

Interface for overriding the default behavior of AadHttpClient.

Properties

configuration
tokenProvider
useCachedToken

Allows the developer to specify if cached tokens should be use for the current request.

Property Details

configuration

Warning

This API is now deprecated.

  • AadHttpClient's configuration cannot be altered
configuration?: IAadTokenProviderConfiguration;

Property Value

tokenProvider

Warning

This API is now deprecated.

  • AadHttpClient does not support a custom tokenProvider.
tokenProvider?: IAadTokenProvider;

Property Value

useCachedToken

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Allows the developer to specify if cached tokens should be use for the current request.

useCachedToken?: boolean;

Property Value

boolean