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

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

Summary

Functions

Returns current time in seconds.

Functions

@spec current_time() :: pos_integer()

Returns current time in seconds.

Uses DateTime.utc_now/0.