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
1
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.0-next.teamsprovider.9d48fb0 to 2.2.0-preview.0a84ed7

8

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

@@ -29,13 +29,13 @@ /**

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

@@ -42,0 +42,0 @@ * The redirect uri to use

@@ -79,2 +79,7 @@ /**

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

@@ -100,6 +105,2 @@ Providers.globalProvider = this.provider;

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

@@ -113,2 +114,9 @@ attribute: 'scopes',

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

@@ -115,0 +123,0 @@ type: String

{
"name": "@microsoft/mgt-msal2-provider",
"version": "2.2.0-next.teamsprovider.9d48fb0",
"version": "2.2.0-preview.0a84ed7",
"description": "The Microsoft Graph Toolkit Msal 2.0 Provider",

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

"dependencies": {
"@microsoft/mgt-element": "2.2.0-next.teamsprovider.9d48fb0",
"@microsoft/mgt-element": "2.2.0-preview.0a84ed7",
"@microsoft/microsoft-graph-client": "^2.2.1",
"@azure/msal-browser": "^2.13.0"
"@azure/msal-browser": "^2.14.1"
},

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

@@ -43,10 +43,14 @@ /**

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

@@ -56,6 +60,6 @@ * @memberof MgtMsalProvider

@property({
attribute: 'scopes',
attribute: 'authority',
type: String
})
public scopes;
public authority;

@@ -134,2 +138,8 @@ /**

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

@@ -136,0 +146,0 @@ Providers.globalProvider = this.provider;

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