Skip to content

Commit

Permalink
Merge pull request #250 from auth0/rotating_refresh_token_comment
Browse files Browse the repository at this point in the history
Add rotating_refresh_token to devicecredential token types.
  • Loading branch information
lbalmaceda committed Apr 23, 2020
2 parents e1c98c9 + c70b9f8 commit bef1ae3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/auth0/json/mgmt/DeviceCredentials.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void setDeviceName(String deviceName) {
}

/**
* Getter for the type of credential.
* Getter for the type of credential. Either 'public_key', 'refresh_token' or 'rotating_refresh_token'.
*
* @return the type of credential.
*/
Expand All @@ -78,7 +78,7 @@ public String getType() {
}

/**
* Setter for the type of credential. Either 'public_key' or 'refresh_token'.
* Setter for the type of credential. Either 'public_key', 'refresh_token' or 'rotating_refresh_token'.
*
* @param type the type of credential to set.
*/
Expand Down Expand Up @@ -157,4 +157,4 @@ public String getUserId() {
public void setUserId(String userId) {
this.userId = userId;
}
}
}

0 comments on commit bef1ae3

Please sign in to comment.