Skip to content

Commit

Permalink
feat(jans-core): added methods for register response modification
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Jan 19, 2022
1 parent 3cce889 commit 9f18613
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ public interface ClientRegistrationType extends BaseExternalType {
// context - io.jans.as.server.service.external.context.DynamicClientRegistrationContext
// cert - java.security.cert.X509Certificate
boolean isCertValidForClient(Object cert, Object context);

boolean modifyPutResponse(Object responseAsJsonObject, Object executionContext);

boolean modifyPostResponse(Object responseAsJsonObject, Object executionContext);
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,14 @@ public String getDcrJwks(Object context) {
public boolean isCertValidForClient(Object cert, Object context) {
return false;
}

@Override
public boolean modifyPutResponse(Object responseAsJsonObject, Object executionContext) {
return false;
}

@Override
public boolean modifyPostResponse(Object responseAsJsonObject, Object executionContext) {
return false;
}
}

0 comments on commit 9f18613

Please sign in to comment.