Skip to content

Commit

Permalink
Public access control: SignedSDJWT recreate claims
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuldar-Daniel Kokorev committed May 9, 2024
1 parent d5906bf commit d1805b6
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 d1805b6

Please sign in to comment.