auth0-java

Java client library for the Auth0 platform

MIT License

Stars
290
Committers
43

Bot releases are hidden (Show)

auth0-java - 1.3.1

Published by lbalmaceda over 5 years ago

1.3.1 (2017-11-01)

Full Changelog
Closed issues

  • NullPointerException, StdDeserializer #78

Fixed

auth0-java - 1.4.0

Published by lbalmaceda over 5 years ago

1.4.0 (2017-11-30)

Full Changelog

Added

Breaking changes

auth0-java - 1.5.0

Published by lbalmaceda over 5 years ago

1.5.0 (2017-12-07)

Full Changelog

Added

auth0-java - 1.5.1

Published by lbalmaceda over 5 years ago

1.5.1 (2018-03-01)

Full Changelog

Fixed

auth0-java - 1.6.0

Published by lbalmaceda over 5 years ago

1.6.0 (2018-06-04)

Full Changelog

Added

auth0-java - 1.7.0

Published by lbalmaceda over 5 years ago

1.7.0 (2018-06-11)

Full Changelog

Added

Deprecated

Security

auth0-java - 1.8.0

Published by lbalmaceda over 5 years ago

1.8.0 (2018-07-13)

Full Changelog

Added

  • Allow to update the Management API token #141 (lbalmaceda)
  • Allow to set search_engine version for Users API #140 (lbalmaceda)
  • Make Connections accept include_totals parameter #135 (lbalmaceda)
  • Add pagination support to Client Grants, Grants, Resource Servers and Rules #132 (lbalmaceda)

Deprecated

  • Deprecate old list methods that do not support pagination #136 (lbalmaceda)
auth0-java - 1.9.0

Published by lbalmaceda over 5 years ago

1.9.0 (2018-09-25)

Full Changelog

Added

auth0-java - 1.9.1

Published by lbalmaceda over 5 years ago

1.9.1 (2018-10-23)

Full Changelog

Security

auth0-java - 1.10.0

Published by lbalmaceda over 5 years ago

1.10.0 (2019-01-03)

Full Changelog

Added

Fixed

  • Closing response body on RateLimitException #175 (j-m-x)

Security

  • Bump jackson-databind to patch security issues. #181 (gkwang)
auth0-java - 1.11.0

Published by lbalmaceda over 5 years ago

1.11.0 (2019-03-14)

Full Changelog

Added

  • Add "mark_email_as_verified" property to PasswordChangeTicket #189 (akvamalin)
auth0-java - 1.13.2

Published by lbalmaceda over 5 years ago

1.13.2 (2019-05-01)

Full Changelog

Fixed

  • Dynamically obtain the project version for telemetry #201 (lbalmaceda)
auth0-java - 1.13.3

Published by lbalmaceda over 5 years ago

1.13.3 (2019-05-22)

Full Changelog

Fixed

Security

auth0-java - 1.13.1

Published by lbalmaceda over 5 years ago

Full Changelog

Fixed

  • Fix for issue #198: Core Authorization fails when adding Roles to User #199 (jakbutler)
auth0-java - 1.13.0

Published by lbalmaceda over 5 years ago

Full Changelog

Added

  • Add support for Core Authorization's User Roles and Permissions #193 (jakbutler)
auth0-java - 1.12.0

Published by joshcanhelp over 5 years ago

Full Changelog

Added

Changed

auth0-java - 1.0.0

Published by hzalaz over 7 years ago

1.0.0 (2017-01-30)

Reworked Auth0 SDK for java by providing better support for non-Android application (for Android please use Auth0.Android).

The changes from v0 includes:

  • OAuth 2.0 endpoints in Authentication API
  • Sync calls by default
  • Added Management API endpoints
  • Better error handling for Auth and Management API erros

Auth API

The implementation is based on the Authentication API Docs.

Create a new AuthAPI instance by providing the client data from the dashboard.

AuthAPI auth = new AuthAPI("{YOUR_DOMAIN}", "{YOUR_CLIENT_ID}", "{YOUR_CLIENT_SECRET}");

Management API

The implementation is based on the Management API Docs.

Create a new ManagementAPI instance by providing the domain from the client dashboard and the API Token. Click here for more information on how to obtain a valid API Token.

ManagementAPI mgmt = new ManagementAPI("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}");

The Management API is divided into different entities. Each of them have the list, create, update, delete and update methods plus a few more if corresponds. The calls are authenticated using the API Token given in the ManagementAPI instance creation and must contain the scope required by each entity. See the javadoc for details on which scope is expected for each call.

  • Client Grants: See Docs. Access the methods by calling mgmt.clientGrants().
  • Clients: See Docs. Access the methods by calling mgmt.clients().
  • Connections: See Docs. Access the methods by calling mgmt.connections().
  • Device Credentials: See Docs. Access the methods by calling mgmt.deviceCredentials().
  • Logs: See Docs. Access the methods by calling mgmt.logEvents().
  • Rules: See Docs. Access the methods by calling mgmt.rules().
  • User Blocks: See Docs. Access the methods by calling mgmt.userBlocks().
  • Users: See Docs. Access the methods by calling mgmt.users().
  • Blacklists: See Docs. Access the methods by calling mgmt.blacklists().
  • Emails: See Docs. Access the methods by calling mgmt.emailProvider().
  • Guardian: See Docs. Access the methods by calling mgmt.guardian().
  • Stats: See Docs. Access the methods by calling mgmt.stats().
  • Tenants: See Docs. Access the methods by calling mgmt.tenants().
  • Tickets: See Docs. Access the methods by calling mgmt.tickets().
auth0-java - 0.4.0

Published by hzalaz over 8 years ago

Full Changelog

Added

  • UserProfile has now the following properties: givenName, familyName, userMetadata, appMetadata and emailVerified #28 (hzalaz)
  • New method AuthenticationAPIClient#token(code, redirectURI) to call /oauth/token endpoint. #27 (arcseldon, hzalaz)

Fixed

  • UserProfile was not properly parsed from JSON #28 (hzalaz)

Breaking changes

The method AuthenticationAPIClient#token(code, codeVerifier, redirectURI) was replaced by AuthenticationAPIClient#token(String, String). To perform a request to /oauth/token you need to provide either a client_secret (private clients) or the code_verifier (public clients) used to generate the challenge sent to /authorize.

AuthenticationAPIClient client = new AuthenticationAPIClient(new Auth0("your_clientId", "your_domain"));

// Public clients
client
     .token("code", "redirect_uri")
     .setCodeVerifier("code_verifier")
     .start(new Callback<Credentials> {...});

// Private clients
 client
     .token("code", "redirect_uri")
     .setClientSecret("client_secret")
     .start(new Callback<Credentials> {...});
auth0-java - 0.3.0

Published by hzalaz over 8 years ago

Full Changelog

Implemented enhancements:

Merged pull requests:

  • Make ParameterBuilder ignore null parameters #25 (lbalmaceda)
  • Do not add request body if there's nothing to add #23 (nikolaseu)
auth0-java - 0.2.1

Published by hzalaz over 8 years ago

Full Changelog

Merged pull requests:

Package Rankings
Top 10.61% on Repo1.maven.org
Badges
Extracted from project README
Coverage Status License Maven Central javadoc