-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ES-1091] added new kyc auth V2 API to return the verified claims.
Signed-off-by: Mahammed Taheer <[email protected]>
- Loading branch information
1 parent
dc0a4d0
commit 9a9b860
Showing
19 changed files
with
372 additions
and
41 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
1 change: 0 additions & 1 deletion
1
...on-common/src/main/java/io/mosip/authentication/common/service/entity/OIDCClientData.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
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
11 changes: 11 additions & 0 deletions
11
...tion-core/src/main/java/io/mosip/authentication/core/indauth/dto/KycAuthRequestDTOV2.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,11 @@ | ||
package io.mosip.authentication.core.indauth.dto; | ||
|
||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
@Data | ||
@EqualsAndHashCode(callSuper = true) | ||
public class KycAuthRequestDTOV2 extends AuthRequestDTO { | ||
|
||
private KycRequestDTOV2 request; | ||
} |
16 changes: 16 additions & 0 deletions
16
...ication-core/src/main/java/io/mosip/authentication/core/indauth/dto/KycAuthRespDTOV2.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,16 @@ | ||
package io.mosip.authentication.core.indauth.dto; | ||
|
||
import lombok.Data; | ||
|
||
/** | ||
* The class for KycAuthRespDTOV2 Holds the values for Kyc Token and Auth Token (PSU Token). | ||
* | ||
* @author Mahammed Taheer | ||
*/ | ||
|
||
@Data | ||
public class KycAuthRespDTOV2 extends KycAuthRespDTO{ | ||
|
||
/** The Variable to hold value of verified claims */ | ||
private String verifiedClaimsMetadata; | ||
} |
19 changes: 19 additions & 0 deletions
19
...ion-core/src/main/java/io/mosip/authentication/core/indauth/dto/KycAuthResponseDTOV2.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.authentication.core.indauth.dto; | ||
|
||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
|
||
/** | ||
* The Class For KycAuthResponseDTO extending {@link BaseAuthResponseDTO} | ||
* | ||
* @author Mahammed Taheer | ||
*/ | ||
|
||
@Data | ||
@EqualsAndHashCode(callSuper=true) | ||
public class KycAuthResponseDTOV2 extends BaseAuthResponseDTO { | ||
|
||
/** The KycResponseDTO */ | ||
private KycAuthRespDTOV2 response; | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
...tication-core/src/main/java/io/mosip/authentication/core/indauth/dto/KycRequestDTOV2.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,17 @@ | ||
package io.mosip.authentication.core.indauth.dto; | ||
|
||
|
||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
public class KycRequestDTOV2 extends RequestDTO { | ||
|
||
/** H/W or S/W token */ | ||
private List<KeyBindedTokenDTO> keyBindedTokens; | ||
|
||
private String password; | ||
|
||
private boolean claimsMetadataRequired; | ||
} |
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
Oops, something went wrong.