AadTokenProviderFactory class

Returns a preinitialized version of the AadTokenProviderFactory.

Properties

serviceKey

The service key for AadTokenProviderFactory.

Methods

getTokenProvider()

Returns an instance of the AadTokenProvider that communicates with the current tenant's configurable Service Principal.

Property Details

serviceKey

The service key for AadTokenProviderFactory.

static readonly serviceKey: ServiceKey<AadTokenProviderFactory>;

Property Value

Method Details

getTokenProvider()

Returns an instance of the AadTokenProvider that communicates with the current tenant's configurable Service Principal.

getTokenProvider(): Promise<AadTokenProvider>;

Returns

Promise<AadTokenProvider>