Struct ironoxide::user::Jwt [−][src]
pub struct Jwt { /* fields omitted */ }
Expand description
IronCore JWT.
Must be either ES256 or RS256 and have a payload similar to JwtClaims, but could be generated from an external source.
Implementations
Constructs a new Jwt.
Verifies that the provided jwt uses a compatible algorithm and contains the required claims.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Jwt
impl UnwindSafe for Jwt
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V