Skip to content

Commit f41662f

Browse files
authored
Align json property 'cross_origin_authentication' with api docs (#555)
1 parent 20bbb33 commit f41662f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/com/auth0/json/mgmt/client/Client.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public class Client {
8686
private String tenant;
8787
@JsonProperty("global")
8888
private Boolean global;
89-
@JsonProperty("cross_origin_auth")
89+
@JsonProperty("cross_origin_authentication")
9090
private Boolean crossOriginAuth;
9191
@JsonProperty("cross_origin_loc")
9292
private String crossOriginLoc;
@@ -766,7 +766,7 @@ public void setOrganizationRequireBehavior(String organizationRequireBehavior) {
766766
* Setter whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
767767
* @param crossOriginAuth whether an application can make cross-origin authentication requests or not
768768
*/
769-
@JsonProperty("cross_origin_auth")
769+
@JsonProperty("cross_origin_authentication")
770770
public void setCrossOriginAuth(Boolean crossOriginAuth) {
771771
this.crossOriginAuth = crossOriginAuth;
772772
}
@@ -775,7 +775,7 @@ public void setCrossOriginAuth(Boolean crossOriginAuth) {
775775
* Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
776776
* @return true if application can make cross-origin authentication requests, false otherwise
777777
*/
778-
@JsonProperty("cross_origin_auth")
778+
@JsonProperty("cross_origin_authentication")
779779
public Boolean getCrossOriginAuth() {
780780
return crossOriginAuth;
781781
}

src/test/resources/mgmt/clients_list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"is_heroku_app": false,
4242
"tenant": "auth0",
4343
"global": false,
44-
"cross_origin_auth": false,
44+
"cross_origin_authentication": false,
4545
"cross_origin_loc": "https://auth0.com/auth/callback-cross-auth",
4646
"addons": {
4747
"rms": {},

0 commit comments

Comments
 (0)