SPAuthN 2.0.0
SharePoint .Net auth with Node.js
See the version list below for details.
Install-Package SPAuthN -Version 2.0.0
dotnet add package SPAuthN --version 2.0.0
<PackageReference Include="SPAuthN" Version="2.0.0" />
paket add SPAuthN --version 2.0.0
SPAuthN - SharePoint .Net auth via Node.js
The wrapper for node-sp-auth and node-sp-auth-config for usage in .Net assemblies.
Allows authenticating in SharePoint in whatever you need scenarios and provides a wizard-like approach for building and managing connection config files.
Hey! Attention, please! On the first place, it is a crazy experiment which solves one of our very specific tasks for a frontier technology stack with SharePoint/Node.js/.Net where we need running the same exactly auth mechanisms which we use in Node.js but in .Net applications. We know exactly what we're doing and why. Please use the lib only in the case when native .Net credentials strategies do not suite your app.
For whom is this library?
For folks who used to create applications for SharePoint with authentication level powered by node-sp-auth-config
and node-sp-auth-config
and who desire reuse authentication settings parameters and formats in .Net application.
For geeks from geeks passionated with funky technology experiments on their way doing awesome stuff.
For the cases when one tool should rule *all possible authentication strategies in SharePoint.
And definitely not for the situations when these work for you:
- context.Credentials = new SharePointOnlineCredentials("username", "securepass");
- context.Credentials = new NetworkCredential("username", "password", "domain");
- Any other native authentication routes.
Supported SharePoint versions
- SharePoint Online
- SharePoint 2016
- SharePoint 2013
Authentication strategies
- SharePoint Online:
- Addin only permissions
- SAML based with user credentials
- ADFS user credentials
- SharePoint 2013, 2016:
- Addin only permissions
- User credentials through the http NTLM handshake
- ADFS user credentials
- Form-based authentication (FBA)
- Forefront TMG authentication
How to install
Install-Package SPAuthN
How to use
Options options = SPAuth.GetAuth();
That's it! Really!
Now options.headers
object contains Cookie or Authorization which can be injected to web requests.
This is a low level, session timeouts should be controlled manually.
SPAuthN - SharePoint .Net auth via Node.js
The wrapper for node-sp-auth and node-sp-auth-config for usage in .Net assemblies.
Allows authenticating in SharePoint in whatever you need scenarios and provides a wizard-like approach for building and managing connection config files.
Hey! Attention, please! On the first place, it is a crazy experiment which solves one of our very specific tasks for a frontier technology stack with SharePoint/Node.js/.Net where we need running the same exactly auth mechanisms which we use in Node.js but in .Net applications. We know exactly what we're doing and why. Please use the lib only in the case when native .Net credentials strategies do not suite your app.
For whom is this library?
For folks who used to create applications for SharePoint with authentication level powered by node-sp-auth-config
and node-sp-auth-config
and who desire reuse authentication settings parameters and formats in .Net application.
For geeks from geeks passionated with funky technology experiments on their way doing awesome stuff.
For the cases when one tool should rule *all possible authentication strategies in SharePoint.
And definitely not for the situations when these work for you:
- context.Credentials = new SharePointOnlineCredentials("username", "securepass");
- context.Credentials = new NetworkCredential("username", "password", "domain");
- Any other native authentication routes.
Supported SharePoint versions
- SharePoint Online
- SharePoint 2016
- SharePoint 2013
Authentication strategies
- SharePoint Online:
- Addin only permissions
- SAML based with user credentials
- ADFS user credentials
- SharePoint 2013, 2016:
- Addin only permissions
- User credentials through the http NTLM handshake
- ADFS user credentials
- Form-based authentication (FBA)
- Forefront TMG authentication
How to install
Install-Package SPAuthN
How to use
Options options = SPAuth.GetAuth();
That's it! Really!
Now options.headers
object contains Cookie or Authorization which can be injected to web requests.
This is a low level, session timeouts should be controlled manually.
Release Notes
all js's part is moved to dll resources, excluded the necessaty of restoring npm dependencies
Dependencies
-
- Edge.js (>= 8.2.1)
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SPAuthN:
Package | Downloads |
---|---|
SPExec
SharePoint Executor
The library for command line usage of SharePoint applications for deploy/retract/execute custom solutions based on CSOM (or SPMeta2 CSOM) console applications
The solution that helps to execute custom code for SharePoint 2013/2016/Online based on console application (command line arguments) on different stages like deploy, retract or execute
The main idea of the solution is to help to execute custom code in SharePoint in different situations and solutions and to standardize for similar solutions
---
The project and details on github - https://github.com/sergeisnitko/SPExec
|
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
2.2.1 | 195 | 2/13/2020 |
2.2.0 | 174 | 2/13/2020 |
2.1.3 | 212 | 7/19/2019 |
2.1.2 | 174 | 6/15/2019 |
2.1.1 | 244 | 6/13/2019 |
2.1.0 | 1,975 | 4/3/2019 |
2.0.4 | 341 | 8/17/2018 |
2.0.3 | 2,244 | 3/27/2018 |
2.0.2 | 397 | 3/27/2018 |
2.0.1 | 451 | 2/23/2018 |
2.0.0 | 957 | 12/9/2017 |
1.1.4 | 439 | 12/5/2017 |
1.1.3 | 360 | 12/5/2017 |
1.1.2 | 447 | 12/1/2017 |
1.1.1 | 435 | 12/1/2017 |
1.1.0 | 500 | 11/30/2017 |
1.0.7 | 459 | 11/29/2017 |
1.0.6 | 516 | 11/28/2017 |
1.0.5 | 424 | 11/1/2017 |
1.0.4 | 399 | 10/30/2017 |
1.0.3 | 381 | 10/30/2017 |
1.0.2 | 408 | 10/30/2017 |
1.0.1 | 457 | 10/29/2017 |
1.0.0 | 549 | 10/28/2017 |