HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Custom serializers and deserializers in MessageVerifier and MessageEn…
…cryptor. By default, these classes use Marshal for serializing and deserializing messages. Unfortunately, the Marshal format is closely associated with Ruby internals and even changes between different interpreters. This makes the resulting message very hard to impossible to unserialize messages generated by these classes in other environments like node.js. This patch solves this by allowing you to set your own custom serializer and deserializer lambda functions. By default, it still uses Marshal to be backwards compatible.
- Loading branch information...
Showing with 30 additions and 5 deletions.