SPAuthN 1.1.4
See the version list below for details.
dotnet add package SPAuthN --version 1.1.4
NuGet\Install-Package SPAuthN -Version 1.1.4
<PackageReference Include="SPAuthN" Version="1.1.4" />
paket add SPAuthN --version 1.1.4
#r "nuget: SPAuthN, 1.1.4"
// Install SPAuthN as a Cake Addin #addin nuget:?package=SPAuthN&version=1.1.4 // Install SPAuthN as a Cake Tool #tool nuget:?package=SPAuthN&version=1.1.4
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Edge.js (>= 8.2.1)
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 | Downloads | Last updated |
---|---|---|
2.2.1 | 775 | 2/13/2020 |
2.2.0 | 576 | 2/13/2020 |
2.1.3 | 667 | 7/19/2019 |
2.1.2 | 592 | 6/15/2019 |
2.1.1 | 675 | 6/13/2019 |
2.1.0 | 2,440 | 4/3/2019 |
2.0.4 | 936 | 8/17/2018 |
2.0.3 | 2,878 | 3/27/2018 |
2.0.2 | 972 | 3/27/2018 |
2.0.1 | 1,021 | 2/23/2018 |
2.0.0 | 4,169 | 12/9/2017 |
1.1.4 | 1,304 | 12/5/2017 |
1.1.3 | 918 | 12/5/2017 |
1.1.2 | 1,471 | 12/1/2017 |
1.1.1 | 1,005 | 12/1/2017 |
1.1.0 | 1,286 | 11/30/2017 |
1.0.7 | 1,094 | 11/29/2017 |
1.0.6 | 1,660 | 11/28/2017 |
1.0.5 | 1,014 | 11/1/2017 |
1.0.4 | 1,005 | 10/30/2017 |
1.0.3 | 969 | 10/30/2017 |
1.0.2 | 1,004 | 10/30/2017 |
1.0.1 | 1,117 | 10/29/2017 |
1.0.0 | 1,296 | 10/28/2017 |
edge package issue temporary fix