Change export convention
This commit is contained in:
Родитель
232c9c66ce
Коммит
7dc80fbe29
|
@ -1,26 +1,16 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
||||
import { TokenCredentialsBase, TokenResponse } from "./credentials/tokenCredentialsBase";
|
||||
import { ApplicationTokenCredentials } from "./credentials/applicationTokenCredentials";
|
||||
import { DeviceTokenCredentials } from "./credentials/deviceTokenCredentials";
|
||||
import { UserTokenCredentials } from "./credentials/userTokenCredentials";
|
||||
import { MSITokenCredentials, MSITokenResponse } from "./credentials/msiTokenCredentials";
|
||||
import { AuthConstants, TokenAudience } from "./util/authConstants";
|
||||
import { LinkedSubscription, LinkedUser, UserType } from "./subscriptionManagement/subscriptionUtils";
|
||||
import {
|
||||
export { TokenCredentialsBase, TokenResponse } from "./credentials/tokenCredentialsBase";
|
||||
export { ApplicationTokenCredentials } from "./credentials/applicationTokenCredentials";
|
||||
export { DeviceTokenCredentials } from "./credentials/deviceTokenCredentials";
|
||||
export { UserTokenCredentials } from "./credentials/userTokenCredentials";
|
||||
export { MSITokenCredentials, MSITokenResponse } from "./credentials/msiTokenCredentials";
|
||||
export { AuthConstants, TokenAudience } from "./util/authConstants";
|
||||
export { LinkedSubscription, LinkedUser, UserType } from "./subscriptionManagement/subscriptionUtils";
|
||||
export {
|
||||
AuthResponse, LoginWithAuthFileOptions, InteractiveLoginOptions,
|
||||
MSIOptions, AzureTokenCredentialsOptions, LoginWithUsernamePasswordOptions,
|
||||
interactive, withAuthFile, withAuthFileWithAuthResponse, withInteractiveWithAuthResponse,
|
||||
withMSI, withServicePrincipalSecret, withServicePrincipalSecretWithAuthResponse,
|
||||
withUsernamePassword, withUsernamePasswordWithAuthResponse
|
||||
} from "./login";
|
||||
|
||||
export {
|
||||
TokenCredentialsBase, TokenResponse, ApplicationTokenCredentials, DeviceTokenCredentials,
|
||||
UserTokenCredentials, MSITokenCredentials, MSITokenResponse, AuthConstants, TokenAudience,
|
||||
AuthResponse, LoginWithAuthFileOptions, InteractiveLoginOptions, MSIOptions,
|
||||
AzureTokenCredentialsOptions, LoginWithUsernamePasswordOptions,
|
||||
interactive as interactiveLogin,
|
||||
withInteractiveWithAuthResponse as interactiveLoginWithAuthResponse,
|
||||
withUsernamePassword as loginWithUsernamePassword,
|
||||
|
@ -30,5 +20,4 @@ export {
|
|||
withAuthFile as loginWithAuthFile,
|
||||
withAuthFileWithAuthResponse as loginWithAuthFileWithAuthResponse,
|
||||
withMSI as loginWithMSI,
|
||||
LinkedSubscription, LinkedUser, UserType
|
||||
};
|
||||
} from "./login";
|
||||
|
|
Загрузка…
Ссылка в новой задаче