Skip to content

Commit

Permalink
[INJIMOB-2367] add sequence diagram in read me file that explains abo…
Browse files Browse the repository at this point in the history
…ut interactions between openid4vp, verifier and wallet (#39)

* [INJIMOB-2367] add sequence diagram in read me file that explains about interactions between openid4vp, verifier and wallet

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2367] update sequence diagram path in read me file

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
  • Loading branch information
PuBHARGAVI authored Feb 10, 2025
1 parent 6595f21 commit 4443985
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions kotlin/openID4VP/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# INJI-openId4VP
# INJI-OpenID4VP

Description: Implementation of OpenID for Verifiable Presentations - draft 21 specifications in Kotlin

Expand Down Expand Up @@ -57,7 +57,7 @@ Snapshot builds are available -
implementation "io.mosip:inji-openid4vp:0.1.0-SNAPSHOT"
```

## Create instance of OpenId4VP library to invoke it's methods
## Create instance of OpenID4VP library to invoke it's methods
val openID4VP = OpenID4VP()

## APIs
Expand Down Expand Up @@ -159,4 +159,8 @@ This method will also notify the Verifier about the error by sending it to the r
###### Exceptions

1. InterruptedIOException is thrown if the connection is timed out when network call is made.
2. NetworkRequestFailed exception is thrown when there is any other exception occurred when sending the response over http post request.
2. NetworkRequestFailed exception is thrown when there is any other exception occurred when sending the response over http post request.

##### The below diagram shows the interactions between Wallet, Verifier and OpenID4VP library

<figure><img src="assets/sequence-diagram.png" alt=""><figcaption></figcaption></figure>
Binary file added kotlin/openID4VP/assets/sequence-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4443985

Please sign in to comment.