Skip to content

Commit

Permalink
raw()
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Sep 29, 2023
1 parent 723b451 commit 997f267
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vc/vp.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ func (vp VerifiablePresentation) JWT() jwt.Token {
return token
}

// Raw returns the source of the presentation as it was parsed.
func (vp VerifiablePresentation) Raw() string {
return vp.raw
}

// Proofs returns the basic proofs for this presentation. For specific proof contents, UnmarshalProofValue must be used.
func (vp VerifiablePresentation) Proofs() ([]Proof, error) {
var (
Expand Down

0 comments on commit 997f267

Please sign in to comment.