UNPKG

596 BTypeScriptView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7/**
8 * @interface
9 * Signature that defines callback for an authentication provider
10 * @callback - The anonymous callback function which takes two params
11 */
12export type AuthProviderCallback = (error: any, accessToken: string | null) => void;