Skip to content

Commit

Permalink
docs(sdk): update issuance trust info example (#718)
Browse files Browse the repository at this point in the history
Signed-off-by: Rolson Quadras <[email protected]>
  • Loading branch information
rolsonquadras authored Feb 9, 2024
1 parent 17d8eaa commit bedcdde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/wallet-sdk-gomobile/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1507,6 +1507,8 @@ val issuanceRequest = IssuanceRequest()
val trustInfo = newInteraction.issuerTrustInfo()
issuanceRequest.issuerDID = trustInfo.did
issuanceRequest.issuerDomain = trustInfo.domain
issuanceRequest.credentialFormat = trustInfo.credentialFormat
issuanceRequest.credentialType = trustInfo.credentialType

val config = RegistryConfig()
config.evaluateIssuanceURL = evaluateIssuanceURL
Expand Down Expand Up @@ -1620,6 +1622,8 @@ let issuanceRequest = TrustregistryIssuanceRequest()
let trustInfo = try initiatedInteraction.issuerTrustInfo()
issuanceRequest.issuerDID = trustInfo.did
issuanceRequest.issuerDomain = trustInfo.domain
issuanceRequest.credentialFormat = trustInfo.credentialFormat
issuanceRequest.credentialType = trustInfo.credentialType

let config = TrustregistryRegistryConfig()
config.evaluateIssuanceURL = evaluateIssuanceURL
Expand Down

0 comments on commit bedcdde

Please sign in to comment.