node-sp-auth
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -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', |
{ | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"name": "node-sp-auth", | ||
@@ -4,0 +4,0 @@ "author": "Sergei Sergeev <sergeev.srg@gmail.com>", |
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
35386
753