.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.
Install-Package SPOnlineRESTClientCore -Version 1.0.0
dotnet add package SPOnlineRESTClientCore --version 1.0.0
<PackageReference Include="SPOnlineRESTClientCore" Version="1.0.0" />
paket add SPOnlineRESTClientCore --version 1.0.0
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 email@example.com, but there is no guarantee if or when I will implement them.
- Microsoft.Extensions.Logging (>= 3.1.3)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.