# `Joken.CurrentTime`
[🔗](https://github.com/joken-elixir/joken/blob/v2.7.0/lib/joken/current_time.ex#L1)

Behaviour for fetching current time.

# `current_time`

```elixir
@callback current_time() :: pos_integer()
```

Returns the current time in seconds.

This is used for applications that want to control time for testing.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
