File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ impl Validation {
156156 /// Whether to validate the JWT cryptographic signature.
157157 /// Disabling validation is dangerous, only do it if you know what you're doing.
158158 /// With validation disabled you should not trust any of the values of the claims.
159+ #[ deprecated(
160+ since = "10.0.0" ,
161+ note = "Use `jsonwebtoken::dangerous::insecure_decode` if you require this functionality."
162+ ) ]
159163 pub fn insecure_disable_signature_validation ( & mut self ) {
160164 self . validate_signature = false ;
161165 }
Original file line number Diff line number Diff line change 1+ #![ allow( deprecated) ]
12use serde:: { Deserialize , Serialize } ;
23use std:: collections:: HashMap ;
34use time:: OffsetDateTime ;
You can’t perform that action at this time.
0 commit comments