Joken.CurrentTime.OS (Joken v2.4.1) View Source

Time source for default time based claims. Can be overridden in tests.

Link to this section Summary

Functions

Returns current time in seconds.

Link to this section Functions

Specs

current_time() :: pos_integer()

Returns current time in seconds.

Uses DateTime.utc_now/0.