Trait jwt::header::JoseHeader

source ·
pub trait JoseHeader {
    // Required method
    fn algorithm_type(&self) -> AlgorithmType;

    // Provided methods
    fn key_id(&self) -> Option<&str> { ... }
    fn type_(&self) -> Option<HeaderType> { ... }
    fn content_type(&self) -> Option<HeaderContentType> { ... }
}
Expand description

A trait for any header than can conform to the JWT specification.

Required Methods§

Provided Methods§

Implementors§