Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AadTokenProviderFactory class
- Package:
- @microsoft/sp-http-base
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>
