SPOnlineRESTClientCore 1.0.0
dotnet add package SPOnlineRESTClientCore --version 1.0.0
NuGet\Install-Package SPOnlineRESTClientCore -Version 1.0.0
<PackageReference Include="SPOnlineRESTClientCore" Version="1.0.0" />
paket add SPOnlineRESTClientCore --version 1.0.0
#r "nuget: SPOnlineRESTClientCore, 1.0.0"
// Install SPOnlineRESTClientCore as a Cake Addin #addin nuget:?package=SPOnlineRESTClientCore&version=1.0.0 // Install SPOnlineRESTClientCore as a Cake Tool #tool nuget:?package=SPOnlineRESTClientCore&version=1.0.0
.NET Core 3.1 SharePoint online REST client with authentication using only username and password, without any Client ID or Client secret.
Offers only three methods:
Authenticate - providing username, password and endpoint, which you want to call your REST request upon
ExecuteGetRESTCall - execute supplied REST GET call (part of url starting /_api/)
ExecutePostRESTCall - execute supplied REST GET call (part of url starting /_api/) with Json body
Works well with Azure Http triggered function, which are bound to List asynchronous event receiver as Remote event receiver.
Whole functionality is based on this article https://paulryan.com.au/2014/spo-remote-authentication-rest/. Therefore Paul Ryan deserves big thanks for this.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Logging (>= 3.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 5,256 | 4/10/2020 |
This is initial release, developed for my own purposes, but can help anyone who requires authentication and SharePoint online REST execution just with username and password, with no Client ID and Client secret for whatever reasons.
Any comments or feature requests can be sent to ma5thew.dev@outlook.com, but there is no guarantee if or when I will implement them.