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

Removing application_type and response_type from DCR API model #2693

Merged
merged 2 commits into from
Feb 6, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ public class RegistrationRequestDTO {
@NotNull
private String clientName = null;
private List<String> grantTypes = new ArrayList<>();
private String applicationType = null;
private String jwksUri = null;
private String url = null;
private String clientId = null;
private String clientSecret = null;
private List<String> contacts = new ArrayList<>();
private List<String> postLogoutRedirectUris = new ArrayList<>();
private List<String> requestUris = new ArrayList<>();
private List<String> responseTypes = new ArrayList<>();
private String tokenType = null;
private String spTemplateName = null;
private String backchannelLogoutUri = null;
Expand Down Expand Up @@ -93,15 +91,6 @@ public void setGrantTypes(List<String> grantTypes) {
this.grantTypes = grantTypes;
}

@ApiModelProperty
@JsonProperty("application_type")
public String getApplicationType() {
return applicationType;
}
public void setApplicationType(String applicationType) {
this.applicationType = applicationType;
}

@ApiModelProperty
@JsonProperty("jwks_uri")
public String getJwksUri() {
Expand Down Expand Up @@ -172,16 +161,6 @@ public void setRequestUris(List<String> requestUris) {
this.requestUris = requestUris;
}

@ApiModelProperty
@JsonProperty("response_types")
public List<String> getResponseTypes() {
return responseTypes;
}

public void setResponseTypes(List<String> responseTypes) {
this.responseTypes = responseTypes;
}

@ApiModelProperty
@JsonProperty("token_type_extension")
public String getTokenType() {
Expand Down Expand Up @@ -505,15 +484,13 @@ public String toString() {
sb.append(" redirect_uris: ").append(redirectUris).append("\n");
sb.append(" client_name: ").append(clientName).append("\n");
sb.append(" grant_types: ").append(grantTypes).append("\n");
sb.append(" application_type: ").append(applicationType).append("\n");
sb.append(" jwks_uri: ").append(jwksUri).append("\n");
sb.append(" url: ").append(url).append("\n");
sb.append(" ext_param_client_id: ").append(clientId).append("\n");
sb.append(" ext_param_client_secret: ").append(clientSecret).append("\n");
sb.append(" contacts: ").append(contacts).append("\n");
sb.append(" post_logout_redirect_uris: ").append(postLogoutRedirectUris).append("\n");
sb.append(" request_uris: ").append(requestUris).append("\n");
sb.append(" response_types: ").append(responseTypes).append("\n");
sb.append(" token_type_extension: ").append(tokenType).append("\n");
sb.append(" ext_param_sp_template: ").append(spTemplateName).append("\n");
sb.append(" backchannel_logout_uri: ").append(backchannelLogoutUri).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,6 @@ definitions:
type: array
items:
type: string
application_type:
type: string
jwks_uri:
type: string
url:
Expand All @@ -296,10 +294,6 @@ definitions:
type: array
items:
type: string
response_types:
type: array
items:
type: string
ext_param_sp_template:
type: string
backchannel_logout_uri:
Expand Down
Loading