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

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

@spec current_time() :: pos_integer()

Returns current time in seconds.

Uses DateTime.utc_now/0.