pub trait JoseHeader {
// Required methods
fn common(&self) -> &JwtHeader;
fn has_claim(&self, claim: &str) -> bool;
}
Expand description
An abstraction over different JOSE headers.
Required Methods§
Sourcefn common(&self) -> &JwtHeader
fn common(&self) -> &JwtHeader
Returns the header common to all JoseHeader
s.