jsonwebtoken
9.2.0
Modules
crypto
errors
jwk
Structs
DecodingKey
EncodingKey
Header
TokenData
Validation
Enums
Algorithm
Functions
decode
decode_header
encode
get_current_timestamp
jsonwebtoken
Function
get_current_timestamp
Copy item path
Settings
Help
Summary
Source
pub fn get_current_timestamp() ->
u64
Expand description
Gets the current timestamp in the format expected by JWTs.