[][src]Trait aliri_jose::jwt::CoreHeaders

pub trait CoreHeaders: HasAlgorithm {
    fn kid(&self) -> Option<&KeyIdRef> { ... }
}

Indicates that the type has values common to a JWT header

Provided methods

fn kid(&self) -> Option<&KeyIdRef>

Key ID

The ID of the JWK used to sign this token. A verifier MUST use the JWK with the specified ID to verify the token. A verifier MAY use a JWK without any ID to verify the token if and only if there is no JWK with a matching ID.

Loading content...

Implementors

impl<'a, H> CoreHeaders for Decomposed<'a, H>[src]

impl<H> CoreHeaders for Headers<H>[src]

Loading content...