-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added client credentials changes (#670)
- Loading branch information
Showing
9 changed files
with
329 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
src/main/java/com/auth0/json/mgmt/client/ClientDefaultOrganization.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package com.auth0.json.mgmt.client; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.util.List; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class ClientDefaultOrganization { | ||
@JsonProperty("flows") | ||
private List<String> flows; | ||
@JsonProperty("organization_id") | ||
private String organizationId; | ||
|
||
public ClientDefaultOrganization() { | ||
|
||
} | ||
|
||
public ClientDefaultOrganization(List<String> flows, String organizationId) { | ||
this.flows = flows; | ||
this.organizationId = organizationId; | ||
} | ||
|
||
/** | ||
* Getter for the supported flows. | ||
* @return the supported flows. | ||
*/ | ||
public List<String> getFlows() { | ||
return flows; | ||
} | ||
|
||
/** | ||
* Setter for the supported flows. | ||
* @param flows the supported flows to set. | ||
*/ | ||
public void setFlows(List<String> flows) { | ||
this.flows = flows; | ||
} | ||
|
||
/** | ||
* Getter for the organization_id. | ||
* @return the organization_id. | ||
*/ | ||
public String getOrganizationId() { | ||
return organizationId; | ||
} | ||
|
||
/** | ||
* Setter for the organization_id. | ||
* @param organizationId the organization_id to set. | ||
*/ | ||
public void setOrganizationId(String organizationId) { | ||
this.organizationId = organizationId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.