Struct jwt_simple::algorithms::HS256Key [−][src]
pub struct HS256Key { /* fields omitted */ }Implementations
Trait Implementations
fn authenticate<CustomClaims: Serialize + DeserializeOwned>(
&self,
claims: JWTClaims<CustomClaims>
) -> Result<String, Error>[src]fn verify_token<CustomClaims: Serialize + DeserializeOwned>(
&self,
token: &str,
options: Option<VerificationOptions>
) -> Result<JWTClaims<CustomClaims>, Error>[src]Auto Trait Implementations
impl RefUnwindSafe for HS256Keyimpl UnwindSafe for HS256KeyBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V