Skip to content

Commit

Permalink
Align json property 'cross_origin_authentication' with api docs (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo134 authored Jul 26, 2023
1 parent 20bbb33 commit f41662f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/auth0/json/mgmt/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class Client {
private String tenant;
@JsonProperty("global")
private Boolean global;
@JsonProperty("cross_origin_auth")
@JsonProperty("cross_origin_authentication")
private Boolean crossOriginAuth;
@JsonProperty("cross_origin_loc")
private String crossOriginLoc;
Expand Down Expand Up @@ -766,7 +766,7 @@ public void setOrganizationRequireBehavior(String organizationRequireBehavior) {
* Setter whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
* @param crossOriginAuth whether an application can make cross-origin authentication requests or not
*/
@JsonProperty("cross_origin_auth")
@JsonProperty("cross_origin_authentication")
public void setCrossOriginAuth(Boolean crossOriginAuth) {
this.crossOriginAuth = crossOriginAuth;
}
Expand All @@ -775,7 +775,7 @@ public void setCrossOriginAuth(Boolean crossOriginAuth) {
* Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
* @return true if application can make cross-origin authentication requests, false otherwise
*/
@JsonProperty("cross_origin_auth")
@JsonProperty("cross_origin_authentication")
public Boolean getCrossOriginAuth() {
return crossOriginAuth;
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/mgmt/clients_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"is_heroku_app": false,
"tenant": "auth0",
"global": false,
"cross_origin_auth": false,
"cross_origin_authentication": false,
"cross_origin_loc": "https://auth0.com/auth/callback-cross-auth",
"addons": {
"rms": {},
Expand Down

0 comments on commit f41662f

Please sign in to comment.