![]() |
VOOZH | about |
dotnet add package Rystem.Authentication.Social.Abstractions --version 10.0.8
NuGet\Install-Package Rystem.Authentication.Social.Abstractions -Version 10.0.8
<PackageReference Include="Rystem.Authentication.Social.Abstractions" Version="10.0.8" />
<PackageVersion Include="Rystem.Authentication.Social.Abstractions" Version="10.0.8" />Directory.Packages.props
<PackageReference Include="Rystem.Authentication.Social.Abstractions" />Project file
paket add Rystem.Authentication.Social.Abstractions --version 10.0.8
#r "nuget: Rystem.Authentication.Social.Abstractions, 10.0.8"
#:package Rystem.Authentication.Social.Abstractions@10.0.8
#addin nuget:?package=Rystem.Authentication.Social.Abstractions&version=10.0.8Install as a Cake Addin
#tool nuget:?package=Rystem.Authentication.Social.Abstractions&version=10.0.8Install as a Cake Tool
Rystem.Authentication.Social.Abstractions contains the shared contracts and models used by the Authentication/Social packages.
It is the common .NET vocabulary between:
Rystem.Authentication.SocialRystem.Authentication.Social.BlazorThe TypeScript client mirrors many of the same concepts, but it does not consume this package directly.
dotnet add package Rystem.Authentication.Social.Abstractions
The core public types are:
ProviderTypeISocialUserILocalizedSocialUserTokenResponseTokenCheckerSettingsRystemClaimTypesProviderTypeProviderType identifies the server-side token checker to use.
Current values are:
DotNetGoogleMicrosoftFacebookGitHubAmazonLinkedinXInstagramPinterestTikTokImportant note: DotNet is not a social provider. It is the internal provider used when refreshing bearer tokens that were already issued by the server package.
ISocialUserISocialUser is the minimum user contract across the stack.
public interface ISocialUser
{
string? Username { get; set; }
}
The interface also exposes static helpers in the current implementation:
ISocialUser.EmptyISocialUser.OnlyUsername(username)Those helpers are used by the server package when no custom ISocialUserProvider is present.
ILocalizedSocialUserILocalizedSocialUser extends ISocialUser with:
string? Language { get; set; }
This matters mainly for the Blazor package, where the login flow can persist a language choice and feed the localization middleware.
TokenResponseTokenResponse is the normalized result of a successful provider check inside the server package.
public sealed class TokenResponse
{
public required string Username { get; set; }
public required List<Claim> Claims { get; set; }
}
Important detail: TokenResponse.Empty is currently just null.
TokenCheckerSettingsTokenCheckerSettings carries request context from the token endpoint into a provider-specific token checker.
public sealed class TokenCheckerSettings
{
public string? Domain { get; set; }
public string? RedirectPath { get; set; }
public Dictionary<string, string>? AdditionalParameters { get; set; }
}
Use cases:
Domain comes from Origin or RefererRedirectPath lets a client communicate the callback path it usedAdditionalParameters carries provider-specific extras such as PKCE code_verifierHelper methods:
GetRedirectUri() combines Domain and RedirectPathGetParameter(key) reads from AdditionalParametersWithParameter(key, value) appends a parameter fluentlyExample:
var settings = new TokenCheckerSettings
{
Domain = "https://app.example.com",
RedirectPath = "/account/login"
}.WithParameter("code_verifier", verifier);
string redirectUri = settings.GetRedirectUri();
RystemClaimTypesThis package currently defines one custom claim constant:
RystemClaimTypes.LanguageIt is intended for language values such as en, it, or es and is used by the sample social user provider plus the Blazor localization flow.
Even though it is called Abstractions, its project file currently references token and OIDC-related packages. So it is not a pure POCO-only dependency.
DotNet is easy to misunderstandIf you see ProviderType.DotNet, think refresh-token reuse inside the server package, not an external login provider.
src/Authentication/Rystem.Authentication.Social.Abstractions/Models/ProviderType.cssrc/Authentication/Rystem.Authentication.Social.Abstractions/Models/ISocialUser.cssrc/Authentication/Rystem.Authentication.Social.Abstractions/Models/ILocalizedSocialUser.cssrc/Authentication/Rystem.Authentication.Social.Abstractions/Models/TokenResponse.cssrc/Authentication/Rystem.Authentication.Social.Abstractions/Models/TokenCheckerSettings.csUse this package when you need the shared Authentication/Social contracts without taking a dependency on the full server or Blazor runtime package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on Rystem.Authentication.Social.Abstractions:
| Package | Downloads |
|---|---|
|
Rystem.Authentication.Social
Rystem.Authentication.Social helps you to integrate with new .Net Identity system and social logins. |
|
|
Rystem.Authentication.Social.Blazor
Rystem.Authentication.Social helps you to integrate with new .Net Identity system and social logins. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.8 | 5,595 | 5/13/2026 |
| 10.0.7 | 207 | 3/26/2026 |
| 10.0.6 | 433,557 | 3/3/2026 |
| 10.0.5 | 222 | 2/22/2026 |
| 10.0.4 | 244 | 2/9/2026 |
| 10.0.3 | 147,988 | 1/28/2026 |
| 10.0.1 | 209,122 | 11/12/2025 |
| 9.1.3 | 442 | 9/2/2025 |
| 9.1.2 | 764,611 | 5/29/2025 |
| 9.1.1 | 97,877 | 5/2/2025 |
| 9.0.32 | 186,639 | 4/15/2025 |
| 9.0.31 | 5,891 | 4/2/2025 |
| 9.0.30 | 88,830 | 3/26/2025 |
| 9.0.29 | 9,066 | 3/18/2025 |
| 9.0.28 | 281 | 3/17/2025 |
| 9.0.27 | 278 | 3/16/2025 |
| 9.0.26 | 323 | 3/13/2025 |
| 9.0.25 | 52,201 | 3/9/2025 |
| 9.0.23 | 224 | 3/9/2025 |
| 9.0.21 | 405 | 3/6/2025 |