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

Time source for default time based claims. Can be overriden 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.