import type { IInternalAadTokenProvider, IAadTokenProviderConfiguration } from './IAadTokenProvider'; /** * AadTokenProviders is used to retrieve preinitialized instances of the AadTokenProvider class. * This class should only be used within the SharePoint Framework. * @internal */ export default class AadTokenProviders { private static _configurableTokenProvider; private static _preAuthorizedConfiguration; /** * Initializes the AadTokenProviders. Must be called before fetching AadTokenProvider objects. * @internal */ static _initialize(configurable: IInternalAadTokenProvider, preAuthorizedConfig: IAadTokenProviderConfiguration): void; /** * Retrieves a preinitialized version of the `AadTokenProvider` class for communicating with the * current tenant's configurable Service Principal. This application can be configured * by granting permission scopes to the tenant's instance of the Service Principal. * * For more information, see * {@link https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient} */ static get configurable(): IInternalAadTokenProvider; /** * Retrieves the configuration for communicating with the current tenant's Service * Principal. This application has a set of preauthorized scopes from Microsoft. */ static get preAuthorizedConfiguration(): IAadTokenProviderConfiguration; } //# sourceMappingURL=AadTokenProviders.d.ts.map