Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align json property 'cross_origin_authentication' with api docs #555

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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