View Source Rivet.Auth.Token.Validation (rivet_ident v2.3.1)
Link to this section Summary
Link to this section Functions
@spec jwt( target :: Rivet.Ident.User.t() | Rivet.Ident.Factor.t(), hostname :: String.t(), scope :: map(), testing_only_expiration_offset :: nil | integer() ) :: {:ok, token :: String.t(), claims :: map(), Rivet.Ident.Factor.t()} | {:error, String.t()}
@spec key(hostname :: String.t(), Rivet.Ident.User.t()) :: {:ok, map()} | {:error, String.t(), any()}