Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/mgt-msal2-provider

Package Overview
Dependencies
Maintainers
2
Versions
743
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-msal2-provider - npm Package Compare versions

Comparing version 2.2.1-preview.5e1e8e2 to 2.2.1-preview.b2c06db

20

dist/es6/mgt-msal2-provider.d.ts

@@ -25,21 +25,21 @@ /**

*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/
loginType: any;
/**
* Comma separated list of scopes
* The authority to use.
*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/
scopes: any;
authority: any;
/**
* The authority to use.
* Comma separated list of scopes
*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/
authority: any;
scopes: any;
/**
* The redirect uri to use
*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -57,3 +57,3 @@ redirectUri: any;

* @readonly
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -65,3 +65,3 @@ get isAvailable(): boolean;

* @protected
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -68,0 +68,0 @@ protected initializeProvider(): void;

@@ -40,3 +40,3 @@ /**

* @readonly
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -50,3 +50,3 @@ get isAvailable() {

* @protected
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -81,7 +81,2 @@ initializeProvider() {

}
if (this.prompt) {
let prompt = this.prompt.toUpperCase();
const promptEnum = PromptType[prompt];
config.prompt = promptEnum;
}
this.provider = new Msal2Provider(config);

@@ -107,2 +102,6 @@ Providers.globalProvider = this.provider;

__decorate([
property(),
__metadata("design:type", Object)
], MgtMsal2Provider.prototype, "authority", void 0);
__decorate([
property({

@@ -116,9 +115,2 @@ attribute: 'scopes',

property({
attribute: 'authority',
type: String
}),
__metadata("design:type", Object)
], MgtMsal2Provider.prototype, "authority", void 0);
__decorate([
property({
attribute: 'redirect-uri',

@@ -125,0 +117,0 @@ type: String

@@ -307,3 +307,3 @@ import { IProvider, LoginType, IProviderAccount } from '@microsoft/mgt-element';

*/
private getAccount;
protected getAccount(): AccountInfo | null;
/**

@@ -310,0 +310,0 @@ * Logs out user

{
"name": "@microsoft/mgt-msal2-provider",
"version": "2.2.1-preview.5e1e8e2",
"version": "2.2.1-preview.b2c06db",
"description": "The Microsoft Graph Toolkit Msal 2.0 Provider",

@@ -42,5 +42,5 @@ "keywords": [

"dependencies": {
"@microsoft/mgt-element": "2.2.1-preview.5e1e8e2",
"@microsoft/mgt-element": "2.2.1-preview.b2c06db",
"@microsoft/microsoft-graph-client": "^2.2.1",
"@azure/msal-browser": "^2.14.1"
"@azure/msal-browser": "^2.14.2"
},

@@ -47,0 +47,0 @@ "publishConfig": {

@@ -34,3 +34,3 @@ /**

*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -44,22 +44,18 @@ @property({

/**
* Comma separated list of scopes
* The authority to use.
*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/
@property({
attribute: 'scopes',
type: String
})
public scopes;
@property() public authority;
/**
* The authority to use.
* Comma separated list of scopes
*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/
@property({
attribute: 'authority',
attribute: 'scopes',
type: String
})
public authority;
public scopes;

@@ -69,3 +65,3 @@ /**

*
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -93,3 +89,3 @@ @property({

* @readonly
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -104,3 +100,3 @@ public get isAvailable() {

* @protected
* @memberof MgtMsalProvider
* @memberof MgtMsal2Provider
*/

@@ -141,8 +137,2 @@ protected initializeProvider() {

if (this.prompt) {
let prompt: string = this.prompt.toUpperCase();
const promptEnum = PromptType[prompt];
config.prompt = promptEnum;
}
this.provider = new Msal2Provider(config);

@@ -149,0 +139,0 @@ Providers.globalProvider = this.provider;

@@ -531,3 +531,3 @@ import {

*/
private getAccount(): AccountInfo | null {
protected getAccount(): AccountInfo | null {
const account = this.getStoredAccount();

@@ -534,0 +534,0 @@ if (account) {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc