Skip to content

Commit

Permalink
Merge pull request #21 from kuldar-daniel/fix/recreate-claims-access-…
Browse files Browse the repository at this point in the history
…control

Public access control: SignedSDJWT recreate claims
  • Loading branch information
dtsiflit authored May 13, 2024
2 parents 8f72af2 + d1805b6 commit b675d15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/Issuer/SDJWT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,10 @@ extension SignedSDJWT {
func serialised(serialiser: (SignedSDJWT) -> (SerialiserProtocol)) throws -> String {
serialiser(self).serialised
}
}

func recreateClaims() throws -> ClaimExtractorResult {
extension SignedSDJWT {
public func recreateClaims() throws -> ClaimExtractorResult {
return try self.toSDJWT().recreateClaims()
}

}

0 comments on commit b675d15

Please sign in to comment.