Auth0.Core 7.0.0-beta2

Auth0 .NET SDK

This is a prerelease version of Auth0.Core.
There is a newer version of this package available.
See the version list below for details.
Install-Package Auth0.Core -Version 7.0.0-beta2
dotnet add package Auth0.Core --version 7.0.0-beta2
<PackageReference Include="Auth0.Core" Version="7.0.0-beta2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Auth0.Core --version 7.0.0-beta2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Auth0.Core, 7.0.0-beta2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Auth0.Core as a Cake Addin
#addin nuget:?package=Auth0.Core&version=7.0.0-beta2&prerelease

// Install Auth0.Core as a Cake Tool
#tool nuget:?package=Auth0.Core&version=7.0.0-beta2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 7.0.0 beta 2
   - No longer ensures that IAT (issued at) claims in ID Tokens are in the future to better deal with
     the local clock being slow.
     
   Version 7.0.0 beta 1
   **Many breaking changes**

   A migration guide will be produced while the beta runs and made available before GA.  The summary is:

   - Authentication SDK includes all-new ID Token Validation which will now validate H256.
     - If your app is configured for HS256 and is confidential such as a web server then you will need to
       set SigningAlgorithm to `SigningAlgorithm.HS256` on your `AuthenticationApiClient` requests.
     - If your app is configured for HS256 and is NOT confidential such as a native client you should
       reconfigure your app for RS256 as soon as possible.
     - If your app is configured for RS256 no changes are required.  JWKS caches are now only valid for
       10 minutes and will not cache the JWKS keys indefinitely.

   - Improved testing and mocking support. You can now mock `IAuthenticationConnection` /
     `IManagementConnection` classes to provide local unit-testing functionality for
     `AuthenticationApiClient` and `ManagementApiClient` respectively.  Each has just two methods that
     can be mocked - one for `GET` and one for other HTTP verbs.

   - Many classes moved namespace especially ones that were in `Core` as part of the long-term plan to
     only have AuthenticationApi and ManagementApi packages.  Visual Studio should be able to suggest
     where classes you were using now reside.

   - Disposal is now more consistent. If `AuthenticationApiClient` or `ManagementApiClient` create a
     connection for you they will manage its lifecycle. If you pass in a connection then it will be your
     responsibility to manage it. This also applies to how `HttpClientAuthenticationConnection` and
     `HttpClientManagementConnection` will only dispose of a `HttpClient` they create and not ones they
     are given.

   - Rate Limiting information is now only available on the `RateLimitApiException` which is raised when
     the rate limit is exceeded.

   - `ApiException` is now `ErrorApiException`. If you use the status code or error message on exception
     you will need to switch to catching the later. The former is now a base class that does not have
     this information but ensures any old catch `ApiException` will continue to catch rate limit
     exceptions which also now inherit from this class.

   - Microsoft recommends `HttpClient` is reused as much as possible.  Therefore you should use
     dependency injection or inversion of control to ensure that either a single instance of
     `AuthenticationApiClient` / `ManagementApiClient` or its connections `HttpClientXConnection` are
     created to ensure sharing.  These classes are now thread-safe. You can additionally share
     `HttpClient` objects between them if you wish by injecting it into the `HttpClientXConnection`
     constructor.      

     Version 6.5.5
     - Signup API result now handles custom databases returning variations of "id" name
     - Fix EnrollmentAuthMethod.Authenticator enum name
     - ClientBase now has property for `initiate_login_uri`

     Version 6.5.4
     - SECURITY FIX for CVE-2019-16929. See
       https://github.com/auth0/auth0.net/blob/master/SECURITY-NOTICE.md#idtokenvalidator-public for more details.

     Version 6.5.3
     WARNING: If you generate tokens in your project via System.IdentityModel.Tokens.Jwt
     please read the important notice at https://github.com/auth0/auth0.net/issues/300

     - Upgraded System.IdentityModel.Tokens.Jwt to 5.5 to fix incompatible kid
     - Upgraded Microsoft.IdentityModel.Protocols.OpenIdConnect to 5.5
     - Add ClientId to VerifyEmailJobRequest
     - Updated all test dependencies (xunit, FluentAssertions, .NET Test SDK)
     - Removed unused Console Workbench project

     Version 6.5.2
     - UserClient.GetEnrollments now correctly passes user id.

     Version 6.5.1
     - User and role permissions endpoints in UsersClient and RolesClient paging fix.

     Version 6.5.0
     - Assembly is now strong-name-signed so it can be used by other strong-name-signed packages.
     - NOTE: This is code signing only using a non-secret key. It is not authenticode or tamper protection.
     - User and role permissions endpoints in UsersClient and RolesClient now correctly honoring paging.
     - User model optional fields (CreatedAt, UpdatedAt, LastLogin) are now nullable.

     Version 6.4.0
     - TenantSettings lifetimes are now double not integer.
     - Added various Guardian-related endpoints on UserClient.

     Version 6.3.0
     - Missing Tenant settings now available (device flow, Guardian MFA, Change Password, flags etc.

     Version 6.2.0
     - Added client_id to GetDeviceCredentials response
     - Added various user properties to UserUpdateRequest

     Version 6.1.0
     - New user permission endpoints added to UsersClient
     - New role permission endpoints added to RolesClient
     - AuthenticationApiClient now implements IDisposable to dispose ApiConnection and HttpClient
     - Added various new and missing properties to Resource Servers (ResourceServerBase)

     Version 6.0.0
     - New GuardianClient for managing /guardian endpoints
     - New RolesClient for managing /roles endpoints
     - PasswordChangeTicket now has IncludeEmailInRedirect and MailEmailAsVerified
     - ApiConnection now has Dispose to dispose the HttpClient it creates
     - ManagementApiClient now has Dispose to dispose the ApiConnection it creates
     - XML documentation tweaks
     - Dependencies updated

     BREAKING CHANGES
     See our migration guide at https://github.com/auth0/auth0.net/blob/prepare-6.0.0/docs-source/migrating.md

     - All I*Client interfaces have been removed so adding endpoints is no longer breaking
     - IManagementApi interface was removed so adding new clients is no longer breaking
     - All non-paging GetAll methods have been removed
     - DiagnosticsHeader/DiagnosticsComponent are no longer available

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Auth0.Core:

Package Downloads
Auth0.AuthenticationApi
Auth0 .NET SDK
Auth0.ManagementApi
Auth0 .NET SDK
AirMapDotNet
A .NET SDK for the AirMap API.
ZettaVision.CloudCore.Infrastructure.Auth0.Standard
Package Description
Auth0Api
Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Auth0.Core:

Repository Stars
auth0/auth0.net
.NET client for the Auth0 Authentication & Management APIs.

Version History

Version Downloads Last updated
7.8.1 11,070 7/7/2021
7.8.0 153,805 4/2/2021
7.7.0 11,461 3/23/2021
7.6.1 19,374 3/12/2021
7.6.0 39,554 2/15/2021
7.5.1 47,975 2/2/2021
7.5.0 26,072 1/21/2021
7.4.0 56,629 12/11/2020
7.3.2 41,921 11/13/2020
7.3.1 4,975 11/12/2020
7.3.0 51,406 10/23/2020
7.2.0 38,346 10/9/2020
7.1.0 60,134 9/2/2020
7.0.9 176,544 6/24/2020
7.0.8 100,355 5/11/2020
7.0.7 29,542 4/24/2020
7.0.6 1,167 4/23/2020
7.0.5 11,627 4/20/2020
7.0.4 70,786 4/1/2020
7.0.3 14,685 3/30/2020
7.0.2 48,611 3/9/2020
7.0.1 84,049 2/12/2020
7.0.0 19,856 1/30/2020
7.0.0-beta2 1,740 1/16/2020
7.0.0-beta1 6,146 12/10/2019
6.5.6 117,157 1/13/2020
6.5.5 98,150 12/6/2019
6.5.4 145,836 10/4/2019
6.5.3 48,239 9/3/2019
6.5.2 26,335 8/27/2019
6.5.1 4,690 8/22/2019
6.5.0 4,831 8/19/2019
6.4.0 99,671 7/23/2019
6.3.0 107,367 6/14/2019
6.2.0 56,390 5/23/2019
6.1.0 14,173 5/8/2019
6.0.0 179,915 4/2/2019
5.11.0 262,884 1/23/2019
5.10.0 262,464 8/30/2018
5.9.0 52,490 8/1/2018
5.8.0 21,246 7/26/2018
5.7.0 66,171 7/9/2018
5.6.0 67,846 6/18/2018
5.5.0 111,796 6/4/2018
5.4.0 5,977 5/28/2018
5.3.1 43,380 5/7/2018
5.3.0 9,555 4/24/2018
5.2.0 4,811 4/18/2018
5.1.0 26,773 3/30/2018
5.0.0 14,752 3/28/2018
5.0.0-beta1 749 3/23/2018
4.0.2 110,708 1/8/2018
4.0.1 78,966 10/27/2017
4.0.0 167,757 4/24/2017
4.0.0-beta1 3,175 1/13/2017
3.7.0 217,377 1/9/2017
3.6.0 99,868 11/28/2016
3.5.0 21,755 10/21/2016
3.4.0 12,588 9/27/2016
3.3.0 34,023 8/16/2016
3.2.0 9,928 7/21/2016
3.1.1 39,843 4/22/2016
3.1.0 10,582 3/21/2016
3.0.0 1,450 3/2/2016
3.0.0-beta1 808 3/2/2016
2.1.1 1,823 2/24/2016
2.1.0 1,747 2/5/2016
2.0.0 5,268 1/5/2016
2.0.0-beta1 805 12/15/2015
Show less