ExFirebaseAuth.Token.verify_token

You're seeing just the function verify_token, go back to ExFirebaseAuth.Token module for more information.
Link to this function

verify_token(token_string)

Specs

verify_token(String.t()) ::
  {:error, String.t()} | {:ok, String.t(), JOSE.JWT.t()}

Verifies a token agains google's public keys. Returns {:ok, userid, claims} if successful. {:error, } otherwise.

Examples

iex> ExFirebaseAuth.Token.verify_token("ey.some.token")
{:ok, "user id", %{}}

iex> ExFirebaseAuth.Token.verify_token("ey.some.token")
{:error, "Invalid JWT header, `kid` missing"}