Skip to content

Commit 8d7d35b

Browse files
committed
remove 'new' mentions in documentation
1 parent 669c6c5 commit 8d7d35b

11 files changed

Lines changed: 42 additions & 42 deletions

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The Auth0 Authentication API and User's Management API are available for Android
3636

3737
The implementation is based on the [Authentication API Docs](https://auth0.com/docs/api/authentication).
3838

39-
Create a new `AuthAPI` instance by providing the client data from the [dashboard](https://manage.auth0.com/#/clients).
39+
Create an `AuthAPI` instance by providing the client data from the [dashboard](https://manage.auth0.com/#/clients).
4040

4141
```java
4242
AuthAPI auth = new AuthAPI("{YOUR_DOMAIN}", "{YOUR_CLIENT_ID}", "{YOUR_CLIENT_SECRET}");
@@ -71,7 +71,7 @@ String url = auth.logoutUrl("https://me.auth0.com/home", true)
7171
```
7272

7373
### UserInfo - /userinfo
74-
Creates a new request to get the user information associated to a given access token. This will only work if the token has been granted the `openid` scope.
74+
Creates a request to get the user information associated to a given access token. This will only work if the token has been granted the `openid` scope.
7575

7676
`Request<UserInfo> userInfo(String accessToken)`
7777

@@ -89,7 +89,7 @@ try {
8989
```
9090

9191
### Reset Password - /dbconnections/change_password
92-
Creates a new request to reset the user's password. This will only work for db connections.
92+
Creates a request to reset the user's password. This will only work for db connections.
9393

9494
`Request resetPassword(String email, String connection)`
9595

@@ -107,7 +107,7 @@ try {
107107

108108

109109
### Sign Up - /dbconnections/signup
110-
Creates a new request to create a new user. Up to 10 additional Sign Up fields can be added to the request. This will only work for db connections.
110+
Creates a request to create a user. Up to 10 additional Sign Up fields can be added to the request. This will only work for db connections.
111111

112112
`SignUpRequest signUp(String email, String username, String password, String connection)`
113113

@@ -131,7 +131,7 @@ try {
131131

132132
### Exchange the Authorization Code - /oauth/token
133133

134-
Creates a new request to exchange the `code` previously obtained by calling the /authorize endpoint. The redirect uri must be the one sent in the /authorize call.
134+
Creates a request to exchange the `code` previously obtained by calling the /authorize endpoint. The redirect uri must be the one sent in the /authorize call.
135135

136136
`AuthRequest exchangeCode(String code, String redirectUri)`
137137

@@ -151,7 +151,7 @@ try {
151151

152152
### Log In with Password - /oauth/token
153153

154-
Creates a new request to log in the user with `username` and `password`. The connection used is the one defined as "Default Directory" in the account settings.
154+
Creates a request to log in the user with `username` and `password`. The connection used is the one defined as "Default Directory" in the account settings.
155155

156156
`AuthRequest login(String emailOrUsername, String password)`
157157

@@ -171,7 +171,7 @@ try {
171171

172172
### Log In with Password Realm - /oauth/token
173173

174-
Creates a new request to log in the user with `username` and `password` using the Password Realm.
174+
Creates a request to log in the user with `username` and `password` using the Password Realm.
175175

176176
`AuthRequest login(String emailOrUsername, String password, String realm)`
177177

@@ -191,7 +191,7 @@ try {
191191

192192
### Request Token for Audience - /oauth/token
193193

194-
Creates a new request to get a Token for the given Audience.
194+
Creates a request to get a Token for the given Audience.
195195

196196
`AuthRequest requestToken(String audience)`
197197

@@ -210,7 +210,7 @@ try {
210210

211211
### Revoke Refresh Token
212212

213-
Creates a new request to revoke an existing Refresh Token.
213+
Creates a request to revoke an existing Refresh Token.
214214

215215
`Request<Void> revokeToken(String refreshToken)`
216216

@@ -228,7 +228,7 @@ try {
228228

229229
### Renew Authentication
230230

231-
Creates a new request to renew the authentication and get fresh new credentials using a valid Refresh Token.
231+
Creates a request to renew the authentication and get fresh new credentials using a valid Refresh Token.
232232

233233
`AuthRequest renewAuth(String refreshToken)`
234234

@@ -249,7 +249,7 @@ try {
249249

250250
The implementation is based on the [Management API Docs](https://auth0.com/docs/api/management/v2).
251251

252-
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.
252+
Create a `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.
253253

254254
```java
255255
ManagementAPI mgmt = new ManagementAPI("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}");
@@ -277,7 +277,7 @@ The Management API is divided into different entities. Each of them have the lis
277277

278278
#### List
279279

280-
Creates a new request to list the Users. An API Token with scope `read:users` is needed. If you want the identities.access_token property to be included, you will also need the scope `read:user_idp_tokens`.
280+
Creates a request to list the Users. An API Token with scope `read:users` is needed. If you want the identities.access_token property to be included, you will also need the scope `read:user_idp_tokens`.
281281
You can pass an optional Filter to narrow the results in the response.
282282

283283
`Request<UsersPage> list(UserFilter filter)`
@@ -297,7 +297,7 @@ try {
297297

298298
#### Get
299299

300-
Creates a new request to get a User. An API Token with scope `read:users` is needed. If you want the identities.access_token property to be included, you will also need the scope `read:user_idp_tokens`.
300+
Creates a request to get a User. An API Token with scope `read:users` is needed. If you want the identities.access_token property to be included, you will also need the scope `read:user_idp_tokens`.
301301
You can pass an optional Filter to narrow the results in the response.
302302

303303
`Request<User> get(String userId, UserFilter filter)`
@@ -317,7 +317,7 @@ try {
317317

318318
#### Create
319319

320-
Creates a new request to create a new User. An API Token with scope `create:users` is needed.
320+
Creates a request to create a User. An API Token with scope `create:users` is needed.
321321

322322
`Request<User> create(User user)`
323323

@@ -336,7 +336,7 @@ try {
336336

337337
#### Delete
338338

339-
Creates a new request to delete a User. An API Token with scope `delete:users` is needed.
339+
Creates a request to delete a User. An API Token with scope `delete:users` is needed.
340340

341341
`Request delete(String userId)`
342342

@@ -354,7 +354,7 @@ try {
354354

355355
#### Update
356356

357-
Creates a new request to update a User. An API Token with scope `update:users` is needed. If you're updating app_metadata you'll also need `update:users_app_metadata` scope.
357+
Creates a request to update a User. An API Token with scope `update:users` is needed. If you're updating app_metadata you'll also need `update:users_app_metadata` scope.
358358

359359
`Request<User> update(String userId, User user)`
360360

@@ -373,7 +373,7 @@ try {
373373

374374
#### Get Guardian Enrollments
375375

376-
Creates a new request to list the User's Guardian Enrollments. An API Token with scope `read:users` is needed.
376+
Creates a request to list the User's Guardian Enrollments. An API Token with scope `read:users` is needed.
377377

378378
`Request<List<Enrollment>> getEnrollments(String userId)`
379379

@@ -391,7 +391,7 @@ try {
391391

392392
#### Get Log Events
393393

394-
Creates a new request to list the User's Log Events. An API Token with scope `read:logs` is needed.
394+
Creates a request to list the User's Log Events. An API Token with scope `read:logs` is needed.
395395
You can pass an optional Filter to narrow the results in the response.
396396

397397
`Request<LogEventsPage> getLogEvents(String userId, LogEventFilter filter)`
@@ -412,7 +412,7 @@ try {
412412

413413
#### Delete Multifactor Provider
414414

415-
Creates a new request to delete the User's Multifactor Provider. An API Token with scope `update:users` is needed.
415+
Creates a request to delete the User's Multifactor Provider. An API Token with scope `update:users` is needed.
416416

417417
`Request deleteMultifactorProvider(String userId, String provider)`
418418

@@ -430,7 +430,7 @@ try {
430430

431431
#### Rotate Recovery Code
432432

433-
Creates a new request to rotate the User's Recovery Code. An API Token with scope `update:users` is needed.
433+
Creates a request to rotate the User's Recovery Code. An API Token with scope `update:users` is needed.
434434

435435
`Request<RecoveryCode> rotateRecoveryCode(String userId)`
436436

@@ -448,7 +448,7 @@ try {
448448

449449
#### Link Identities
450450

451-
Creates a new request to link two User identities. An API Token with scope `update:users` is needed.
451+
Creates a request to link two User identities. An API Token with scope `update:users` is needed.
452452

453453
`Request<List<Identity>> linkIdentity(String primaryUserId, String secondaryUserId, String provider, String connectionId)`
454454

@@ -466,7 +466,7 @@ try {
466466

467467
#### Un-Link Identities
468468

469-
Creates a new request to un-link two User identities. An API Token with scope `update:users` is needed.
469+
Creates a request to un-link two User identities. An API Token with scope `update:users` is needed.
470470

471471
`Request<List<Identity>> unlinkIdentity(String primaryUserId, String secondaryUserId, String provider)`
472472

src/main/java/com/auth0/client/auth/AuthAPI.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private String createBaseUrl(String domain) {
103103
}
104104

105105
/**
106-
* Creates a new instance of the {@link AuthorizeUrlBuilder} with the given redirect url.
106+
* Creates an instance of the {@link AuthorizeUrlBuilder} with the given redirect url.
107107
* i.e.:
108108
* <pre>
109109
* {@code
@@ -127,7 +127,7 @@ public AuthorizeUrlBuilder authorizeUrl(String redirectUri) {
127127
}
128128

129129
/**
130-
* Creates a new instance of the {@link LogoutUrlBuilder} with the given return-to url.
130+
* Creates an instance of the {@link LogoutUrlBuilder} with the given return-to url.
131131
* i.e.:
132132
* <pre>
133133
* {@code
@@ -217,7 +217,7 @@ public Request resetPassword(String email, String connection) {
217217
}
218218

219219
/**
220-
* Creates a new sign up request with the given credentials and database connection.
220+
* Creates a sign up request with the given credentials and database connection.
221221
* "Requires Username" option must be turned on in the Connection's configuration first.
222222
* i.e.:
223223
* <pre>
@@ -251,7 +251,7 @@ public SignUpRequest signUp(String email, String username, String password, Stri
251251
}
252252

253253
/**
254-
* Creates a new sign up request with the given credentials and database connection.
254+
* Creates a sign up request with the given credentials and database connection.
255255
* i.e.:
256256
* <pre>
257257
* {@code
@@ -294,7 +294,7 @@ public SignUpRequest signUp(String email, String password, String connection) {
294294
}
295295

296296
/**
297-
* Creates a new log in request using the 'Password' grant and the given credentials.
297+
* Creates a log in request using the 'Password' grant and the given credentials.
298298
* i.e.:
299299
* <pre>
300300
* {@code
@@ -333,7 +333,7 @@ public AuthRequest login(String emailOrUsername, String password) {
333333
}
334334

335335
/**
336-
* Creates a new log in request using the 'Password Realm' grant and the given credentials.
336+
* Creates a log in request using the 'Password Realm' grant and the given credentials.
337337
* Default used realm and audience are defined in the "API Authorization Settings" in the account's advanced settings in the Auth0 Dashboard.
338338
* <pre>
339339
* {@code
@@ -375,7 +375,7 @@ public AuthRequest login(String emailOrUsername, String password, String realm)
375375
}
376376

377377
/**
378-
* Creates a new request to get a Token for the given audience using the 'Client Credentials' grant.
378+
* Creates a request to get a Token for the given audience using the 'Client Credentials' grant.
379379
* Default used realm is defined in the "API Authorization Settings" in the account's advanced settings in the Auth0 Dashboard.
380380
* <pre>
381381
* {@code
@@ -411,7 +411,7 @@ public AuthRequest requestToken(String audience) {
411411
}
412412

413413
/**
414-
* Creates a new request to revoke an existing Refresh Token.
414+
* Creates a request to revoke an existing Refresh Token.
415415
* <pre>
416416
* {@code
417417
* AuthAPI auth = new AuthAPI("me.auth0.com", "B3c6RYhk1v9SbIJcRIOwu62gIUGsnze", "2679NfkaBn62e6w5E8zNEzjr-yWfkaBne");
@@ -445,7 +445,7 @@ public Request<Void> revokeToken(String refreshToken) {
445445

446446

447447
/**
448-
* Creates a new request to renew the authentication and get fresh new credentials using a valid Refresh Token and the 'refresh_token' grant.
448+
* Creates a request to renew the authentication and get fresh new credentials using a valid Refresh Token and the 'refresh_token' grant.
449449
* <pre>
450450
* {@code
451451
* AuthAPI auth = new AuthAPI("me.auth0.com", "B3c6RYhk1v9SbIJcRIOwu62gIUGsnze", "2679NfkaBn62e6w5E8zNEzjr-yWfkaBne");
@@ -479,7 +479,7 @@ public AuthRequest renewAuth(String refreshToken) {
479479
}
480480

481481
/**
482-
* Creates a new request to exchange the code obtained in the /authorize call using the 'Authorization Code' grant.
482+
* Creates a request to exchange the code obtained in the /authorize call using the 'Authorization Code' grant.
483483
* <pre>
484484
* {@code
485485
* AuthAPI auth = new AuthAPI("me.auth0.com", "B3c6RYhk1v9SbIJcRIOwu62gIUGsnze", "2679NfkaBn62e6w5E8zNEzjr-yWfkaBne");

src/main/java/com/auth0/client/auth/AuthorizeUrlBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class AuthorizeUrlBuilder {
1818
private final HashMap<String, String> parameters;
1919

2020
/**
21-
* Creates a new instance of the {@link AuthorizeUrlBuilder} using the given domain and base parameters.
21+
* Creates an instance of the {@link AuthorizeUrlBuilder} using the given domain and base parameters.
2222
*
2323
* @param domain the domain to use for this URL. Must be a valid URL.
2424
* @param clientId the client_id value to set

src/main/java/com/auth0/client/auth/LogoutUrlBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class LogoutUrlBuilder {
1818
private final HashMap<String, String> parameters;
1919

2020
/**
21-
* Creates a new instance of the {@link LogoutUrlBuilder} using the given domain and base parameters.
21+
* Creates a instance of the {@link LogoutUrlBuilder} using the given domain and base parameters.
2222
*
2323
* @param domain the domain to use for this URL. Must be a valid URL.
2424
* @param clientId the client_id value to set

src/main/java/com/auth0/client/mgmt/ClientGrantsEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public Request<List<ClientGrant>> list() {
4040
}
4141

4242
/**
43-
* Create a new Client Grant. A token with scope create:client_grants is needed.
43+
* Create a Client Grant. A token with scope create:client_grants is needed.
4444
* See https://auth0.com/docs/api/management/v2#!/Client_Grants/post_client_grants
4545
*
4646
* @param clientId the client id to associate this grant with.

src/main/java/com/auth0/client/mgmt/ConnectionsEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public Request<Connection> get(String connectionId, ConnectionFilter filter) {
7474
}
7575

7676
/**
77-
* Create a new Connection. A token with scope create:connections is needed.
77+
* Create a Connection. A token with scope create:connections is needed.
7878
* See https://auth0.com/docs/api/management/v2#!/Connections/post_connections
7979
*
8080
* @param connection the connection data to set.

src/main/java/com/auth0/client/mgmt/DeviceCredentialsEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public Request<List<DeviceCredentials>> list(DeviceCredentialsFilter filter) {
4747
}
4848

4949
/**
50-
* Create a new Device Credentials. A token with scope create:current_user_device_credentials is needed.
50+
* Create a Device Credentials. A token with scope create:current_user_device_credentials is needed.
5151
* See https://auth0.com/docs/api/management/v2#!/Device_Credentials/post_device_credentials
5252
*
5353
* @param deviceCredentials the device credentials data to set.

src/main/java/com/auth0/client/mgmt/GuardianEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class GuardianEntity extends BaseManagementEntity {
2222
}
2323

2424
/**
25-
* Create a new Guardian Enrollment Ticket. A token with scope create:guardian_enrollment_tickets is needed.
25+
* Create a Guardian Enrollment Ticket. A token with scope create:guardian_enrollment_tickets is needed.
2626
*
2727
* @param enrollmentTicket the enrollment ticket data to set.
2828
* @return a Request to execute.

src/main/java/com/auth0/client/mgmt/ManagementAPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* Class that provides an implementation of the Management API methods defined in https://auth0.com/docs/api/management/v2.
12-
* To begin create a new instance of {@link #ManagementAPI(String, String)} using the tenant domain and API token.
12+
* To begin create an instance of {@link #ManagementAPI(String, String)} using the tenant domain and API token.
1313
*/
1414
@SuppressWarnings("WeakerAccess")
1515
public class ManagementAPI {
@@ -21,7 +21,7 @@ public class ManagementAPI {
2121
private final HttpLoggingInterceptor logging;
2222

2323
/**
24-
* Create a new instance with the given tenant's domain and API token.
24+
* Create an instance with the given tenant's domain and API token.
2525
*
2626
* @param domain the tenant's domain.
2727
* @param apiToken the token to authenticate the calls with. See the "Getting an API token" section to learn how to obtain a token.

src/main/java/com/auth0/client/mgmt/RulesEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public Request<Rule> get(String ruleId, RulesFilter filter) {
7474
}
7575

7676
/**
77-
* Create a new Rule. A token with scope create:rules is needed.
77+
* Create a Rule. A token with scope create:rules is needed.
7878
* See https://auth0.com/docs/api/management/v2#!/Rules/post_rules
7979
*
8080
* @param rule the rule data to set

0 commit comments

Comments
 (0)