Rivet.Auth.Token.Validation (rivet_ident v3.5.1)
View SourceSummary
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()}