ruby-jwe icon indicating copy to clipboard operation
ruby-jwe copied to clipboard

Generalize api

Open quidproquo opened this issue 6 years ago • 0 comments

The original decrypt method only returns the decrypted payload and makes it difficult to get to the header information without going through a bunch of hoops. Returning the payload and header from this method makes more sense since it's more generalized and allows for more flexibility.

quidproquo avatar Jul 17 '19 18:07 quidproquo