|
| 1 | +# Change Log |
| 2 | + |
| 3 | +## [1.0.0](https://github.com/auth0/auth0-java/tree/1.0.0) (2017-01-30) |
| 4 | + |
| 5 | +Reworked Auth0 SDK for java by providing better support for non-Android application (for Android please use [Auth0.Android](https://github.com/auth0/Auth0.Android)). |
| 6 | + |
| 7 | +The changes from v0 includes: |
| 8 | + |
| 9 | +- OAuth 2.0 endpoints in Authentication API |
| 10 | +- Sync calls by default |
| 11 | +- Added Management API endpoints |
| 12 | +- Better error handling for Auth and Management API erros |
| 13 | + |
| 14 | +### Auth API |
| 15 | + |
| 16 | +The implementation is based on the [Authentication API Docs](https://auth0.com/docs/api/authentication). |
| 17 | + |
| 18 | +Create a new `AuthAPI` instance by providing the client data from the [dashboard](https://manage.auth0.com/#/clients). |
| 19 | + |
| 20 | +```java |
| 21 | +AuthAPI auth = new AuthAPI("{YOUR_DOMAIN}", "{YOUR_CLIENT_ID}", "{YOUR_CLIENT_SECRET}"); |
| 22 | +``` |
| 23 | + |
| 24 | +### Management API |
| 25 | + |
| 26 | +The implementation is based on the [Management API Docs](https://auth0.com/docs/api/management/v2). |
| 27 | + |
| 28 | +Create a new `ManagementAPI` instance by providing the domain from the [client dashboard](https://manage.auth0.com/#/clients) and the API Token. Click [here](https://auth0.com/docs/api/management/v2#!/Introduction/Getting_an_API_token) for more information on how to obtain a valid API Token. |
| 29 | + |
| 30 | +```java |
| 31 | +ManagementAPI mgmt = new ManagementAPI("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}"); |
| 32 | +``` |
| 33 | + |
| 34 | +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. |
| 35 | + |
| 36 | +* **Client Grants:** See [Docs](https://auth0.com/docs/api/management/v2#!/Client_Grants/get_client_grants). Access the methods by calling `mgmt.clientGrants()`. |
| 37 | +* **Clients:** See [Docs](https://auth0.com/docs/api/management/v2#!/Clients/get_clients). Access the methods by calling `mgmt.clients()`. |
| 38 | +* **Connections:** See [Docs](https://auth0.com/docs/api/management/v2#!/Connections/get_connections). Access the methods by calling `mgmt.connections()`. |
| 39 | +* **Device Credentials:** See [Docs](https://auth0.com/docs/api/management/v2#!/Device_Credentials/get_device_credentials). Access the methods by calling `mgmt.deviceCredentials()`. |
| 40 | +* **Logs:** See [Docs](https://auth0.com/docs/api/management/v2#!/Logs/get_logs). Access the methods by calling `mgmt.logEvents()`. |
| 41 | +* **Rules:** See [Docs](https://auth0.com/docs/api/management/v2#!/Rules/get_rules). Access the methods by calling `mgmt.rules()`. |
| 42 | +* **User Blocks:** See [Docs](https://auth0.com/docs/api/management/v2#!/User_Blocks/get_user_blocks). Access the methods by calling `mgmt.userBlocks()`. |
| 43 | +* **Users:** See [Docs](https://auth0.com/docs/api/management/v2#!/Users/get_users). Access the methods by calling `mgmt.users()`. |
| 44 | +* **Blacklists:** See [Docs](https://auth0.com/docs/api/management/v2#!/Blacklists/get_tokens). Access the methods by calling `mgmt.blacklists()`. |
| 45 | +* **Emails:** See [Docs](https://auth0.com/docs/api/management/v2#!/Emails/get_provider). Access the methods by calling `mgmt.emailProvider()`. |
| 46 | +* **Guardian:** See [Docs](https://auth0.com/docs/api/management/v2#!/Guardian/get_factors). Access the methods by calling `mgmt.guardian()`. |
| 47 | +* **Stats:** See [Docs](https://auth0.com/docs/api/management/v2#!/Stats/get_active_users). Access the methods by calling `mgmt.stats()`. |
| 48 | +* **Tenants:** See [Docs](https://auth0.com/docs/api/management/v2#!/Tenants/get_settings). Access the methods by calling `mgmt.tenants()`. |
| 49 | +* **Tickets:** See [Docs](https://auth0.com/docs/api/management/v2#!/Tickets/post_email_verification). Access the methods by calling `mgmt.tickets()`. |
| 50 | + |
0 commit comments