Module decoder

Module decoder 

Source
Expand description

The decoder module provides a trait definition of TokenDecoder and a RSA token decoder implementation.

Modules§

rsa_decoder
A RSA token decoder implementation

Traits§

TokenDecoder
Token decoder claim trait definition. Decodes a string token to either a boxed instance of Claims or returns an error.
TokenDecoderClone
A token decoder must be cloneable, send and sync. Therefore it has to implement the TokenDecoderClone trait to be cloneable as a boxed object.