Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.