MCPcopy Create free account
hub / github.com/Keats/jsonwebtoken / TokenData

Class TokenData

src/decoding.rs:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17/// The return type of a successful call to [decode](fn.decode.html).
18#[derive(Debug)]
19pub struct TokenData<T> {
20 /// The decoded JWT header
21 pub header: Header,
22 /// The decoded JWT claims
23 pub claims: T,
24}
25
26impl<T> Clone for TokenData<T>
27where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected