SmartConnectSocial 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package SmartConnectSocial --version 1.0.8
                    
NuGet\Install-Package SmartConnectSocial -Version 1.0.8
                    
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="SmartConnectSocial" Version="1.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SmartConnectSocial" Version="1.0.8" />
                    
Directory.Packages.props
<PackageReference Include="SmartConnectSocial" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SmartConnectSocial --version 1.0.8
                    
#r "nuget: SmartConnectSocial, 1.0.8"
                    
#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.
#:package SmartConnectSocial@1.0.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SmartConnectSocial&version=1.0.8
                    
Install as a Cake Addin
#tool nuget:?package=SmartConnectSocial&version=1.0.8
                    
Install as a Cake Tool

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 consumers
    • Models/ and Enums/ — 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

  1. Build the solution
dotnet restore
dotnet build -c Release
  1. 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" />
  1. 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 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. 
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
1.0.12 96 3/2/2026
1.0.11 85 3/2/2026
1.0.10 87 3/2/2026
1.0.9 94 3/2/2026
1.0.8 91 3/2/2026
1.0.7 92 3/2/2026
1.0.6 86 2/25/2026
1.0.4 166 11/7/2025
1.0.0 194 10/21/2025