parent
0ed16a34ad
commit
1a9ca38b76
|
@ -38,7 +38,7 @@ pub struct Validation {
|
||||||
/// Add some leeway (in seconds) to the `exp` and `nbf` validation to
|
/// Add some leeway (in seconds) to the `exp` and `nbf` validation to
|
||||||
/// account for clock skew.
|
/// account for clock skew.
|
||||||
///
|
///
|
||||||
/// Defaults to `0`.
|
/// Defaults to `60`.
|
||||||
pub leeway: u64,
|
pub leeway: u64,
|
||||||
/// Whether to validate the `exp` field.
|
/// Whether to validate the `exp` field.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue