apiac v1.0.0 APIac.AuthFailureResponseData View Source

Link to this section Summary

Functions

Returns the authentication failure information from the Plug.Conn.t()

Adds authentication failure information to the Plug.Conn.t() object

Link to this section Types

Link to this type

t()

View Source
t() :: %APIac.AuthFailureResponseData{
  body: String.t() | nil,
  module: module(),
  reason: atom(),
  status_code: Plug.Conn.status() | nil,
  www_authenticate_header: {String.t(), map()} | nil
}

Link to this section Functions

Returns the authentication failure information from the Plug.Conn.t()

Link to this function

put(conn, failure_data)

View Source
put(Plug.Conn.t(), t()) :: Plug.Conn.t()

Adds authentication failure information to the Plug.Conn.t() object