Remora.OAuth2
1.0.0-alpha3
Prefix Reserved
dotnet add package Remora.OAuth2 --version 1.0.0-alpha3
NuGet\Install-Package Remora.OAuth2 -Version 1.0.0-alpha3
<PackageReference Include="Remora.OAuth2" Version="1.0.0-alpha3" />
paket add Remora.OAuth2 --version 1.0.0-alpha3
#r "nuget: Remora.OAuth2, 1.0.0-alpha3"
// Install Remora.OAuth2 as a Cake Addin #addin nuget:?package=Remora.OAuth2&version=1.0.0-alpha3&prerelease // Install Remora.OAuth2 as a Cake Tool #tool nuget:?package=Remora.OAuth2&version=1.0.0-alpha3&prerelease
Remora.OAuth2
This package contains the implementation of OAuth2's API interface models, provided by Remora.OAuth2.Abstractions.
Primarily, this project takes the completely agnostic interfaces and applies additional, domain-specific knowledge to them, such as serialization formats and data range validations.
Like its sibling, these types serve as the foundation of Remora.OAuth2's internal implementation, but can just as easily be used to implement your own OAuth2 library.
The primary goal of this project is to provide a concrete implementation of OAuth2's API types, including data object de/serialization and externally imposed limitations.
Structure
The library mostly mirrors Remora.OAuth2.Abstractions in structure,
maintaining an implementation of each corresponding API object interface. The
implementations are record
s, enabling thread-safe usage across as many
concurrent actors as needed.
The Json
folder contains various converters to handle cases where the default
behaviour (from Remora.Rest
) is not appropriate, or the type is too complex to
realistically deserialize without special treatment.
There are also some helper types for accessing CDN assets, checking image formats, and storing OAuth2-provided constant values.
Usage
Beyond the concrete implementations of OAuth2's objects, the library provides a
single extension method for the IServiceCollection
type.
services.ConfigureOAuth2JsonConverters();
This method will add a named set of JsonSerializerOptions
with all
appropriate JSON converters for the various API, objects along with configuring
naming rules.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 is compatible. 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 is compatible. 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.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Remora.OAuth2.Abstractions (>= 1.0.0-alpha3)
- Remora.Rest (>= 3.3.2)
-
net6.0
- Remora.OAuth2.Abstractions (>= 1.0.0-alpha3)
- Remora.Rest (>= 3.3.2)
-
net7.0
- Remora.OAuth2.Abstractions (>= 1.0.0-alpha3)
- Remora.Rest (>= 3.3.2)
-
net8.0
- Remora.OAuth2.Abstractions (>= 1.0.0-alpha3)
- Remora.Rest (>= 3.3.2)
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-alpha3 | 194 | 11/20/2023 |
1.0.0-alpha2 | 127 | 11/20/2022 |
Initial release.