Mention utc timestamps
This commit is contained in:
parent
98efa500f9
commit
a2c259588a
|
@ -55,10 +55,10 @@ The claims fields which can be validated. (see [validation](#validation))
|
|||
#[derive(Debug, Serialize, Deserialize)]
|
||||
struct Claims {
|
||||
aud: String, // Optional. Audience
|
||||
exp: usize, // Required (validate_exp defaults to true in validation). Expiration time
|
||||
iat: usize, // Optional. Issued at
|
||||
exp: usize, // Required (validate_exp defaults to true in validation). Expiration time (as UTC timestamp)
|
||||
iat: usize, // Optional. Issued at (as UTC timestamp)
|
||||
iss: String, // Optional. Issuer
|
||||
nbf: usize, // Optional. Not Before
|
||||
nbf: usize, // Optional. Not Before (as UTC timestamp)
|
||||
sub: String, // Optional. Subject (whom token refers to)
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue