Skip to main content

KeyFunc

Type Alias KeyFunc 

Source
pub type KeyFunc = dyn Fn(&Token) -> Result<Key, Box<dyn Error + Send + Sync>> + Send + Sync;
Expand description

KeyFunc resolves the signing key for the provided token during parsing.