Add PBandGraphOauth scaffold and auth UI

This commit is contained in:
2025-12-19 05:42:29 +00:00
commit b51963f5d7
6264 changed files with 606430 additions and 0 deletions
@@ -0,0 +1,22 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
import { AuthenticationProviderOptions } from "./IAuthenticationProviderOptions";
/**
* @interface
* A signature representing Authentication provider
* @property {Function} getAccessToken - The function to get the access token from the authentication provider
*/
export interface AuthenticationProvider {
/**
* To get access token from the authentication provider
* @param {AuthenticationProviderOptions} [authenticationProviderOptions] - The authentication provider options instance
* @returns A promise that resolves to an access token
*/
getAccessToken: (authenticationProviderOptions?: AuthenticationProviderOptions) => Promise<string>;
}