Setaria.valid_hotp

You're seeing just the function valid_hotp, go back to Setaria module for more information.
Link to this function

valid_hotp(token, secret, counter, opts \\ [])

Specs

valid_hotp(
  token :: String.t(),
  secret :: String.t(),
  counter :: Integer.t(),
  opts :: Keyword.t()
) :: boolean()

Validate HOTP with secret and counter.

  • opts
  • encoded_secret: false : secret is not base32 encoded.