Auth0.AuthenticationApi 7.0.0-beta1

Auth0 .NET SDK

This is a prerelease version of Auth0.AuthenticationApi.
There is a newer version of this package available.
See the version list below for details.
Install-Package Auth0.AuthenticationApi -Version 7.0.0-beta1
dotnet add package Auth0.AuthenticationApi --version 7.0.0-beta1
<PackageReference Include="Auth0.AuthenticationApi" Version="7.0.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Auth0.AuthenticationApi --version 7.0.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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 and/or
       IManagementConnection classes to provide local unit-testing functionality against
       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
       classed you were using now reside.

     - Disposal is now more consistent. If an 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 HttpClients 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 relied on the status code or error message of this exception
       you will need to switch to catching the later. The former is now a base class without this information
       that ensures any old catch ApiException will continue to catch rate limit exceptions which also now
       inherit from this class.

     - Microsoft recommend 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 it's connections HttpClient*Connection are create 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 HttpClient*Connection 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

     Version 5.11
     - Add TokenLifetimeForWeb to ResourceServerBase
     - Documentation fixes, improvements, sync with portal, remove old v4 breaking changes
     - Changes to await behavior to stop locking in some scenarios
     - Update XUnit dependencies

     Version 5.10
     - Add support for managing custom domains
     - Add AccessTokenSecret property for Twitter identities

     Version 5.9.0
     - Validation of ID Tokens when calling any of the /oauth/token endpoints
     - Expanded properties for the LogEntry class to include all properties returned in the payload
     - Fix issue where Rate Limit headers were not extracted when an error was returned from the API

     Version 5.8.0
     - Add ability to send auth0-forwarded-for header with the Resource Owner Password grant
     - Fix issue with incorrect escaping of data strings in URLs
     - Add extra application types for the Clients-related endpoints
     - Adds server time to API Info to more accurately determine time to rate limit resets

     Version 5.7.0
     - Add pagination methods for Client Grants, Resource Servers and Rules
     - Made all pagination methods consistent by introducing Get*Request and PaginationInfo classes
     - Allow passing HttpClient to constuctor of AuthenticationApiClient and ManagementApiClient so you can manage lifetime outside of the Auth0 classes. Thank you @davidallyoung!
     - Updated LoginRequestQuery with additional fields passed from rules

     Version 5.6.0
     - Add GetLastApiInfo() to IAuthenticationApiClient

     Version 5.5.0
     - Adds paging when returning a list Clients and connections

     Version 5.4.0
     - Change in Target Frameworks. Now targets .NET 4.5.2 (and higher), .NET Standard 1.1 and .NET Standard 2.0. Along with this made changes to how System.Net.Http is referenced.

     Version 5.3.1
     - Fix RelayState parameter casing (#186)

     Version 5.3
     - Fix issue with deserialization of user log entries (#184)

     Version 5.2
     - Allow management of email templates
     - [BREAKING CHANGE] Fixed bug when specifying SMTP provider port. Data type was changed from string to int?

     Version 5.1
     - Allow specifying metadata for connections

     Version 5.0
     - Update to remove methods for endpoints related to 1 April 2018 deprecations
     - Various small additions to models for Management API

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
7.0.1 1,100 2/12/2020
7.0.0 2,148 1/30/2020
7.0.0-beta2 149 1/16/2020
7.0.0-beta1 1,460 12/10/2019
6.5.6 7,385 1/13/2020
6.5.5 15,157 12/6/2019
6.5.4 34,340 10/4/2019
6.5.3 19,939 9/3/2019
6.5.2 9,200 8/27/2019
6.5.1 2,835 8/22/2019
6.5.0 1,196 8/19/2019
6.4.0 32,857 7/23/2019
6.3.0 40,145 6/14/2019
6.2.0 20,351 5/23/2019
6.1.0 6,842 5/8/2019
6.0.0 42,213 4/2/2019
5.11.0 119,143 1/23/2019
5.10.0 117,964 8/30/2018
5.9.0 45,464 8/1/2018
5.8.0 11,209 7/26/2018
5.7.0 19,257 7/9/2018
5.6.0 42,510 6/18/2018
5.5.0 57,160 6/4/2018
5.4.0 4,636 5/28/2018
5.3.1 3,218 5/7/2018
5.3.0 6,576 4/24/2018
5.2.0 1,349 4/18/2018
5.1.0 16,895 3/30/2018
5.0.0 7,183 3/28/2018
5.0.0-beta1 378 3/23/2018
4.3.1 65,019 1/10/2018
4.3.0 3,088 1/8/2018
4.2.0 125,094 6/12/2017
4.1.0 16,744 4/26/2017
4.0.0 1,004 4/24/2017
4.0.0-beta1 1,381 1/13/2017
3.7.0 91,296 1/9/2017
3.6.0 64,538 11/28/2016
3.5.0 16,651 10/21/2016
3.4.1 3,267 10/4/2016
3.4.0 1,236 9/27/2016
3.3.0 28,732 8/16/2016
3.2.1 4,231 7/21/2016
3.2.0 26,131 6/30/2016
3.2.0-beta1 358 6/30/2016
3.1.1 5,853 5/20/2016
3.1.0 3,737 3/21/2016
3.0.0 877 3/2/2016
3.0.0-beta1 362 3/2/2016
2.2.1 1,399 2/24/2016
2.2.0 495 2/23/2016
2.1.3 447 2/22/2016
2.1.2 592 2/10/2016
2.1.1 428 2/10/2016
2.1.0 423 2/5/2016
2.0.0 4,383 1/5/2016
2.0.0-beta1 423 12/15/2015