View Source Vigil.Token (vigil v0.4.4)
Utilities for validating simple tokens
Link to this section Summary
Functions
Accepts a %Plug.Conn{} struct containing the header token and the token to compare it to
Link to this section Functions
@spec valid?(conn :: Plug.Conn.t(), token :: mfa() | nil) :: boolean()
Accepts a %Plug.Conn{} struct containing the header token and the token to compare it to