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§
- Token
Decoder - Token decoder claim trait definition. Decodes a string token to either a boxed instance of
Claimsor returns an error. - Token
Decoder Clone - A token decoder must be cloneable,
sendandsync. Therefore it has to implement theTokenDecoderClonetrait to be cloneable as a boxed object.