Skip to content

Commit

Permalink
Merge pull request #96 from auth0/deprecate-delete
Browse files Browse the repository at this point in the history
Deprecate the 'device' method and document the alternative
  • Loading branch information
joseluisdiaz authored May 26, 2021
2 parents b8a67e4 + c79c8f8 commit d6ade12
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ private String signJWT(@NonNull PrivateKey privateKey, @NonNull Map<String, Obje
* @param id the device id
* @param token the device token
* @return an API client for the device
* @deprecated Use {@link #device(String, String, PrivateKey)} to prefer JWT authentication.
*/
@Deprecated
public DeviceAPIClient device(@NonNull String id, @NonNull String token) {
return new DeviceAPIClient(requestFactory, baseUrl, id, token);
}
Expand Down

0 comments on commit d6ade12

Please sign in to comment.