Skip to content

Commit

Permalink
Merge pull request #20958 from mpmadhavig/master
Browse files Browse the repository at this point in the history
Add useClientIdAsSubClaimForAppTokens and omitUsernameInIntrospectionRespForAppTokens openid config
  • Loading branch information
mpmadhavig authored Aug 22, 2024
2 parents 6715c63 + b28bd5c commit e2836fc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public static StateEnum fromValue(String value) {
private Boolean publicClient = false;
private OAuth2PKCEConfiguration pkce;
private HybridFlowConfiguration hybridFlow;
private Boolean useClientIdAsSubClaimForAppTokens;
private Boolean omitUsernameInIntrospectionRespForAppTokens;
private AccessTokenConfiguration accessToken;
private RefreshTokenConfiguration refreshToken;
private SubjectTokenConfiguration subjectToken;
Expand Down Expand Up @@ -259,6 +261,43 @@ public void setPkce(OAuth2PKCEConfiguration pkce) {
this.pkce = pkce;
}

/**
**/
public OpenIDConnectConfiguration useClientIdAsSubClaimForAppTokens(Boolean useClientIdAsSubClaimForAppTokens) {

this.useClientIdAsSubClaimForAppTokens = useClientIdAsSubClaimForAppTokens;
return this;
}

@ApiModelProperty(value = "")
@JsonProperty("useClientIdAsSubClaimForAppTokens")
@Valid
public Boolean getUseClientIdAsSubClaimForAppTokens() {
return useClientIdAsSubClaimForAppTokens;
}
public void setUseClientIdAsSubClaimForAppTokens(Boolean useClientIdAsSubClaimForAppTokens) {
this.useClientIdAsSubClaimForAppTokens = useClientIdAsSubClaimForAppTokens;
}

/**
**/
public OpenIDConnectConfiguration omitUsernameInIntrospectionRespForAppTokens(
Boolean omitUsernameInIntrospectionRespForAppTokens) {

this.omitUsernameInIntrospectionRespForAppTokens = omitUsernameInIntrospectionRespForAppTokens;
return this;
}

@ApiModelProperty(value = "")
@JsonProperty("omitUsernameInIntrospectionRespForAppTokens")
@Valid
public Boolean getOmitUsernameInIntrospectionRespForAppTokens() {
return omitUsernameInIntrospectionRespForAppTokens;
}
public void setOmitUsernameInIntrospectionRespForAppTokens(Boolean omitUsernameInIntrospectionRespForAppTokens) {
this.omitUsernameInIntrospectionRespForAppTokens = omitUsernameInIntrospectionRespForAppTokens;
}

/**
**/
public OpenIDConnectConfiguration hybridFlow(HybridFlowConfiguration hybridFlow) {
Expand All @@ -277,6 +316,8 @@ public void setHybridFlow(HybridFlowConfiguration hybridFlow) {
this.hybridFlow = hybridFlow;
}



/**
**/
public OpenIDConnectConfiguration accessToken(AccessTokenConfiguration accessToken) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,7 @@
<!-- Identity REST API feature -->
<identity.api.dispatcher.version>2.0.17</identity.api.dispatcher.version>
<identity.user.api.version>1.3.38</identity.user.api.version>
<identity.server.api.version>1.2.220</identity.server.api.version>
<identity.server.api.version>1.2.221</identity.server.api.version>

<identity.agent.sso.version>5.5.9</identity.agent.sso.version>
<identity.tool.samlsso.validator.version>5.5.9</identity.tool.samlsso.validator.version>
Expand Down

0 comments on commit e2836fc

Please sign in to comment.