SPOnlineRESTClientCore 1.0.0

.NET Core 3.1
Install-Package SPOnlineRESTClientCore -Version 1.0.0
dotnet add package SPOnlineRESTClientCore --version 1.0.0
<PackageReference Include="SPOnlineRESTClientCore" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SPOnlineRESTClientCore --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SPOnlineRESTClientCore, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 2,284 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.