Enum graph_oauth::jwt::Algorithm
source · [−]pub enum Algorithm {
HS256,
HS384,
HS512,
RS256,
RS384,
RS512,
ES256,
ES384,
ES512,
PS256,
PS384,
}
Expand description
Algorithms used in JSON web tokens (JWT). Does not implement a complete set of Algorithms used in JWTs.
Variants
HS256
HS384
HS512
RS256
RS384
RS512
ES256
ES384
ES512
PS256
PS384
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
type Iterator = AlgorithmIter
fn iter() -> AlgorithmIterⓘNotable traits for AlgorithmIterimpl Iterator for AlgorithmIter type Item = Algorithm;
Notable traits for AlgorithmIter
impl Iterator for AlgorithmIter type Item = Algorithm;
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more