@microsoft/mgt-element
Advanced tools
Comparing version 2.2.0-next.multi-accounts.5ab75ad to 2.2.0-next.teamsprovider.16b1f8c
@@ -34,7 +34,6 @@ /** | ||
*/ | ||
protected isMultipleAccountSupported: boolean; | ||
protected isMultipleAccountDisabled: boolean; | ||
private _state; | ||
private _loginChangedDispatcher; | ||
private _activeAccountChangedDispatcher; | ||
get isMultiAccountSupported(): boolean; | ||
/** | ||
@@ -99,9 +98,2 @@ * returns state of Provider | ||
/** | ||
* Returns active account in case of multi-account sign in | ||
* | ||
* @return {*} {any[]} | ||
* @memberof IProvider | ||
*/ | ||
getActiveAccount?(): IProviderAccount; | ||
/** | ||
* Switch between two signed in accounts | ||
@@ -209,6 +201,5 @@ * | ||
export declare type IProviderAccount = { | ||
username?: string; | ||
id: string; | ||
mail?: string; | ||
name?: string; | ||
}; | ||
//# sourceMappingURL=IProvider.d.ts.map |
@@ -25,3 +25,3 @@ /** | ||
*/ | ||
this.isMultipleAccountSupported = false; | ||
this.isMultipleAccountDisabled = true; | ||
this._loginChangedDispatcher = new EventDispatcher(); | ||
@@ -31,5 +31,2 @@ this._activeAccountChangedDispatcher = new EventDispatcher(); | ||
} | ||
get isMultiAccountSupported() { | ||
return this.isMultipleAccountSupported; | ||
} | ||
/** | ||
@@ -36,0 +33,0 @@ * returns state of Provider |
{ | ||
"name": "@microsoft/mgt-element", | ||
"version": "2.2.0-next.multi-accounts.5ab75ad", | ||
"version": "2.2.0-next.teamsprovider.16b1f8c", | ||
"description": "Microsoft Graph Toolkit base classes", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit", |
@@ -36,9 +36,6 @@ /** | ||
*/ | ||
protected isMultipleAccountSupported: boolean = false; | ||
protected isMultipleAccountDisabled: boolean = true; | ||
private _state: ProviderState; | ||
private _loginChangedDispatcher = new EventDispatcher<LoginChangedEvent>(); | ||
private _activeAccountChangedDispatcher = new EventDispatcher<ActiveAccountChanged>(); | ||
public get isMultiAccountSupported(): boolean { | ||
return this.isMultipleAccountSupported; | ||
} | ||
/** | ||
@@ -126,10 +123,2 @@ * returns state of Provider | ||
/** | ||
* Returns active account in case of multi-account sign in | ||
* | ||
* @return {*} {any[]} | ||
* @memberof IProvider | ||
*/ | ||
public getActiveAccount?(): IProviderAccount; | ||
/** | ||
* Switch between two signed in accounts | ||
@@ -255,5 +244,4 @@ * | ||
export type IProviderAccount = { | ||
username?: string; | ||
id: string; | ||
mail?: string; | ||
name?: string; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1030044
7385