SmartConnectSocial 1.0.8
See the version list below for details.
dotnet add package SmartConnectSocial --version 1.0.8
NuGet\Install-Package SmartConnectSocial -Version 1.0.8
<PackageReference Include="SmartConnectSocial" Version="1.0.8" />
<PackageVersion Include="SmartConnectSocial" Version="1.0.8" />
<PackageReference Include="SmartConnectSocial" />
paket add SmartConnectSocial --version 1.0.8
#r "nuget: SmartConnectSocial, 1.0.8"
#:package SmartConnectSocial@1.0.8
#addin nuget:?package=SmartConnectSocial&version=1.0.8
#tool nuget:?package=SmartConnectSocial&version=1.0.8
SmartConnectSocial
SmartConnectSocial is a small .NET library that contains provider implementations and a simple authentication service for social login providers (Google, Facebook, Instagram, LinkedIn, etc.). It was designed to be lightweight and easy to integrate into console apps, web APIs, and UI projects.
What you'll find in this repository
SmartConnectSocial/— main library project containing:Providers/— provider implementations (Google, Facebook, Instagram, LinkedIn, ...)Services/AuthService.cs— high-level authentication service used by consumersModels/andEnums/— simple POCOs and enums used across the library
SmartConnectSocial.Tests/— test project with basic unit/integration tests
Features
- OAuth provider helpers for common social providers
- Small auth service that composes providers
- Minimal external dependencies — designed to be embedded in your app
Getting started
- Build the solution
dotnet restore
dotnet build -c Release
- Reference the library from your application
Add a project reference or install the produced NuGet package (if you pack/publish it).
Project reference example:
<ProjectReference Include="..\..\Packages\SmartConnectSocial\SmartConnectSocial\SmartConnectSocial.csproj" />
- Example usage (pseudo-code)
using SmartConnectSocial.Services;
var authService = new AuthService();
// Example: obtain provider config and call provider
var providerConfig = new ProviderConfig { /* client id/secret, redirect URI etc */ };
var result = await authService.AuthenticateAsync(providerConfig);
if (result.IsSuccess)
{
Console.WriteLine("Authenticated: " + result.User?.Name);
}
See the Providers/ folder for provider-specific methods and expected input.
Running tests
From the repository root run:
dotnet test
Note: tests may target multiple frameworks defined in their csproj. You can run tests for a specific framework using the -f option.
Contributing
- Open an issue describing the feature or bug.
- Fork the repo, create a feature branch, add tests, and open a pull request.
License
This project is MIT licensed — see the LICENSE file.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- System.Text.Json (>= 8.0.5)
-
net8.0
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.