Auth.UserAgent (auth v1.6.6)
Defines UserAgent and all functions for extracting User Agent from conn
Link to this section Summary
Functions
get_user_agent_id/1
gets the User Agent from the conn.assigns.ua
or creates a new UserAgent
record and returns its' id
.
Link to this section Functions
Link to this function
assign_ua(conn)
Link to this function
get_by(name, ip)
Link to this function
get_user_agent_id(conn)
get_user_agent_id/1
gets the User Agent from the conn.assigns.ua
or creates a new UserAgent
record and returns its' id
.
Link to this function
make_ua_string(ua)
Link to this function