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
Claims
or returns an error. - Token
Decoder Clone - A token decoder must be cloneable,
send
andsync
. Therefore it has to implement theTokenDecoderClone
trait to be cloneable as a boxed object.