Umbraco.AuthorizedServices 0.4.1

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
dotnet add package Umbraco.AuthorizedServices --version 0.4.1
NuGet\Install-Package Umbraco.AuthorizedServices -Version 0.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.AuthorizedServices" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Umbraco.AuthorizedServices --version 0.4.1
#r "nuget: Umbraco.AuthorizedServices, 0.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Umbraco.AuthorizedServices as a Cake Addin
#addin nuget:?package=Umbraco.AuthorizedServices&version=0.4.1

// Install Umbraco.AuthorizedServices as a Cake Tool
#tool nuget:?package=Umbraco.AuthorizedServices&version=0.4.1

Umbraco Authorized Services is an Umbraco package designed to reduce the effort needed to integrate third party solutions that require authentication and authorization via an OAuth flow into Umbraco solutions. It's based on the premise that working with these services requires a fair bit of plumbing code to handle creating an authorized connection.

This is necessary before the developer working with the service can get to actually using the provided API to implement the business requirements.

Having worked with a few OAuth integrations across different providers, as would be expected, there are quite a few similarities to the flow that needs to be implemented. Steps include:

  • Redirecting to an authentication endpoint.
  • Handling the response including an authentication code and exchanging it for an access token.
  • Securely storing the token.
  • Including the token in API requests.
  • Serializing requests and deserializing the API responses.
  • Handling cases where the token has expired and obtaining a new one via a refresh token.

There are though also differences, across request and response structures and variations in the details of the flow itself.

The idea of the package is to try to implement a single, best practice implementation of working with OAuth that can be customized, via configuration or code, for particular providers.

For more information please see the package documentation and/or open-source code repository.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
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
0.4.1 738 11/22/2023
0.4.0 147 11/16/2023
0.3.3 128 11/15/2023
0.3.2 152 11/7/2023
0.3.1 130 11/7/2023
0.3.0 133 10/31/2023
0.2.0 263 7/18/2023
0.1.2 172 6/28/2023
0.1.1 148 6/22/2023
0.1.0 159 6/9/2023