TheIdentityHub.AspNet 2.1.0

dotnet add package TheIdentityHub.AspNet --version 2.1.0                
NuGet\Install-Package TheIdentityHub.AspNet -Version 2.1.0                
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="TheIdentityHub.AspNet" Version="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TheIdentityHub.AspNet --version 2.1.0                
#r "nuget: TheIdentityHub.AspNet, 2.1.0"                
#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 TheIdentityHub.AspNet as a Cake Addin
#addin nuget:?package=TheIdentityHub.AspNet&version=2.1.0

// Install TheIdentityHub.AspNet as a Cake Tool
#tool nuget:?package=TheIdentityHub.AspNet&version=2.1.0                

ASP.NET Library for The Identity Hub

The Identity Hub makes it easy to connect your app to all major identity providers like Microsoft, Facebook, Google, Twitter, Linked In & more.

This NuGet Package allows you to connect to The Identity Hub with a few simple lines of code.

Documentation and examples

See: https://docs.theidentityhub.com

Try The Identity Hub for Free

https://www.theidentityhub.com/hub/Home/Register?planType=Free

What's new

1.0.0

Initial Version

1.1.0

Added support for roles

1.2.0

Added support for non WS-Federation Web Sites

1.3.0

Bugfix

1.4.0

Added SignOut method on HubAuthenticationModule Added UseSession config parameter: When true, if the browser is closed and reopened the user will no longer be signed in.

1.5.0

Added compensateForIOSCookieLimit appSetting. When true compensated for IOS/IPad/Safari cookie limitations.

1.6.0

Using UTF8 in stead of ASCII. User Roles are now available on current thread user.​ Cache optimizations.

1.7.0

The compensateForIOSCookieLimit appSetting has been removed. Compensation for IOS/IPad/Safari cookie limitations is always active.

1.8.0

The identity id's of merged identities are now available through the SDK. The SDK now supports deleting the identity of the currently logged on user. The SDK now support updating the identity of the currently logged on user (email, surname, givenname).

1.9.0

Added useIdentification appSetting. When true the user is identified upon returning to the site (not authenticated and if user was authenticated on previous visit) without the need to authenticate. Added identificationExpires appSetting. The number of minutes the identification of a user is valid before the user must authenticate. The ASP.NET SDK now supports securing services (Web API and WCF) via Basic Authentication. The ASP.NET SDK now supports authenticating a user via a service call.

1.10.0

The ASP.NET SDK now supports securing services (Web API and WCF) for Apps via Client Credentials.

See https://github.com/TheIdentityHub/theidentityhub-demo/tree/master/AspNetMvcApiWcfServices for demo app

1.11.0

Added SignOut method HubAuthenticationModule(string returnUrl) to perform SLO with The Identity Hub.

1.11.1

Fix cookie expiration issue.

1.12.0

Added Properties property to Profile containing the custom mapped info. Claims of the ClaimsIdentity now contain the custom mapped info.

1.13.0

AuthenticationStrength is now returned using the TheIdentityHub.IdentityService.GetAccessTokenDataAsync() method

1.14.0

Added new CreateAuthenticateRedirectUrl methods on TheIdentityHub.HubAuthenticationModule for allowing to sign in with specific account provider and specific reply url.

1.15.0

Added new ExpiresOn extension method that returns the date and time in UTC that the authentication of the current user expires (if available).

1.19.0

Allow introspection between clients of same Tenant

2.0.0

Upgrade to .NET 4.7.2 and set SameSite on cookies

2.1.0

Upgrade to .NET 4.8. Don't save profile information as cookie. Update Newtonsoft.Json version 13. Remove usage of friends functionality.

Support

support@theidentityhub.com

Copyright 2024 U2U Consult NV/SA

Product Compatible and additional computed target framework versions.
.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
2.1.0 167 1/30/2024
2.0.0 783 1/28/2020
1.19.0 636 10/3/2019
1.18.0 635 7/16/2019
1.17.0 623 7/8/2019
1.15.0 1,178 3/28/2018
1.14.0 982 11/2/2017
1.13.0 1,086 7/26/2017
1.10.0 1,826 1/26/2017
1.9.0 1,027 1/9/2017
1.8.0-rc 872 10/24/2016
1.7.0 1,078 6/8/2016
1.6.0 1,022 5/13/2016
1.5.0 1,202 10/16/2015
1.4.0 1,123 5/22/2015
1.3.0 1,124 4/10/2015
1.2.0 1,364 1/23/2015
1.1.0 1,308 11/19/2014
1.0.3 1,146 10/28/2014
1.0.2 1,092 10/28/2014
1.0.1 1,105 10/28/2014
1.0.0 1,110 10/27/2014

Upgrade to .NET 4.8 and set SameSite on cookies