Skip to content

Commit

Permalink
Specify that max_clock_skew is in seconds (#353)
Browse files Browse the repository at this point in the history
I had to dig through the code/tests to find that info 😅
  • Loading branch information
caioaao committed Jun 4, 2024
1 parent ad35792 commit 819cd3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/oidcc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule Oidcc do
## Global Configuration
* `max_clock_skew` (default `0`) - Maximum allowed clock skew for JWT
`exp` / `nbf` validation
`exp` / `nbf` validation, in seconds
"""
@moduledoc since: "3.0.0"

Expand Down
2 changes: 1 addition & 1 deletion src/oidcc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
%%
%% <ul>
%% <li>`max_clock_skew' (default `0') - Maximum allowed clock skew for JWT
%% `exp' / `nbf' validation</li>
%% `exp' / `nbf' validation, in seconds</li>
%% </ul>
%% @end
%% @since 3.0.0
Expand Down

0 comments on commit 819cd3b

Please sign in to comment.