-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ES-1885 added additionalConfig field to client-detail (#995)
* added additionalConfig column to client-detail Signed-off-by: Sachin Rana <[email protected]> * updated according to review comments Signed-off-by: Sachin Rana <[email protected]> * worked on code quality Signed-off-by: Sachin Rana <[email protected]> --------- Signed-off-by: Sachin Rana <[email protected]>
- Loading branch information
Showing
12 changed files
with
293 additions
and
22 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
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
23 changes: 23 additions & 0 deletions
23
esignet-core/src/main/java/io/mosip/esignet/core/dto/ClientDetailCreateRequestV3.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,23 @@ | ||
package io.mosip.esignet.core.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class ClientDetailCreateRequestV3 extends ClientDetailCreateRequestV2 { | ||
private Map<String, Object> additionalConfig; | ||
|
||
public ClientDetailCreateRequestV3(String clientId, String clientName, Map<String, Object> publicKey, String relyingPartyId, | ||
List<String> userClaims, List<String> authContextRefs, String logoUri, | ||
List<String> redirectUris, List<String> grantTypes, List<String> clientAuthMethods, | ||
Map<String, String> clientNameLangMap, Map<String, Object> additionalConfig) { | ||
super(clientId, clientName, publicKey, relyingPartyId, userClaims, authContextRefs, logoUri, redirectUris, | ||
grantTypes, clientAuthMethods, clientNameLangMap); | ||
this.additionalConfig = additionalConfig; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
esignet-core/src/main/java/io/mosip/esignet/core/dto/ClientDetailResponseV2.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,20 @@ | ||
package io.mosip.esignet.core.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import java.util.Map; | ||
|
||
@Data | ||
public class ClientDetailResponseV2 extends ClientDetailResponse { | ||
private String name; | ||
private String rpId; | ||
private String logoUri; | ||
private String redirectUris; | ||
private String publicKey; | ||
private String claims; | ||
private String acrValues; | ||
private String grantTypes; | ||
private String clientAuthMethods; | ||
private Map<String, Object> additionalConfig; | ||
} |
19 changes: 19 additions & 0 deletions
19
esignet-core/src/main/java/io/mosip/esignet/core/dto/ClientDetailUpdateRequestV3.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,19 @@ | ||
package io.mosip.esignet.core.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
public class ClientDetailUpdateRequestV3 extends ClientDetailUpdateRequestV2 { | ||
private Map<String, Object> additionalConfig; | ||
|
||
public ClientDetailUpdateRequestV3(String logUri, List<String> redirectUris, List<String> userClaims, List<String> authContextRefs, String status, List<String> grantTypes, String clientName, List<String> clientAuthMethods, Map<String,String> clientNameLangMap, Map<String, Object> additionalConfig){ | ||
super(logUri,redirectUris,userClaims,authContextRefs,status,grantTypes,clientName,clientAuthMethods, clientNameLangMap); | ||
this.additionalConfig=additionalConfig; | ||
} | ||
} |
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.