Allow uppercase algorithms (too much breakage otherwise)
This commit is contained in:
parent
b6dafd63dd
commit
3e245e3e6b
|
@ -11,6 +11,7 @@ pub(crate) enum AlgorithmFamily {
|
|||
}
|
||||
|
||||
/// The algorithms supported for signing/verifying JWTs
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
#[derive(Debug, PartialEq, Hash, Copy, Clone, Serialize, Deserialize)]
|
||||
pub enum Algorithm {
|
||||
/// HMAC using SHA-256
|
||||
|
|
Loading…
Reference in New Issue