OauthMockServer v0.1.1 OauthMockServer.Adfs
A server that simulates ADFS responses.
Link to this section Summary
Functions
Sends redirect response to the given url.
The response will be sent with the status code defined within
the connection, via Plug.Conn.put_status/2
. If no status
code is set, a 302 response is sent.
Link to this section Functions
Link to this function
authorize(conn)
Link to this function
ensure_resp_content_type(conn, content_type)
Link to this function
metadata(conn)
Link to this function
redirect(conn, url)
Sends redirect response to the given url.
The response will be sent with the status code defined within
the connection, via Plug.Conn.put_status/2
. If no status
code is set, a 302 response is sent.
Examples
iex> redirect(conn, "http://elixir-lang.org")
Link to this function
send_resp(conn, default_status, default_content_type, body)
Link to this function