Mention utc timestamps

This commit is contained in:
Vincent Prouillet 2020-06-30 21:26:50 +02:00
parent 98efa500f9
commit a2c259588a
1 changed files with 3 additions and 3 deletions

View File

@ -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)
}
```