Socket
Socket
Sign inDemoInstall

node-sp-auth

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sp-auth - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

1

lib/src/auth/IAuthOptions.d.ts

@@ -6,2 +6,3 @@ export interface IBasicOAuthOption {

clientSecret: string;
realm?: string;
}

@@ -8,0 +9,0 @@ export interface IOnPremiseAddinCredentials extends IBasicOAuthOption {

@@ -68,2 +68,5 @@ "use strict";

OnlineAddinOnly.prototype.getRealm = function (siteUrl) {
if (this._authOptions.realm) {
return Promise.resolve(this._authOptions.realm);
}
return request.post(UrlHelper_1.UrlHelper.removeTrailingSlash(siteUrl) + "/vti_bin/client.svc", {

@@ -70,0 +73,0 @@ method: 'POST',

2

package.json
{
"version": "1.0.5",
"version": "1.0.6",
"name": "node-sp-auth",

@@ -4,0 +4,0 @@ "author": "Sergei Sergeev <sergeev.srg@gmail.com>",

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