guard v0.14.8 Guard.Authenticator exception

Link to this section Summary

Link to this section Functions

Link to this function

add_perms(user, perms)

Link to this function

authenticated_user!(conn)

Link to this function

bump_to_admin(username)

Link to this function

change_password(user, new_password)

Link to this function

clear_email_pin(user)

Link to this function

clear_pin(user)

Link to this function

create_and_confirm_user(user_map)

Link to this function

create_api_key(user, permissions \\ %{})

Link to this function

create_user(user_map, extra \\ nil)

Link to this function

create_user_by_email(email, extra \\ nil)

Link to this function

create_user_by_mobile(mobile, extra \\ nil)

Link to this function

create_user_by_username(username, password, extra \\ nil)

Link to this function

current_claim_type(conn)

Link to this function

current_claims(conn)

Link to this function

current_user(conn)

Link to this function

delete_api_key(key)

Link to this function

drop_admin(username)

Link to this function

drop_perm(user, name)

Link to this function

generate_access_claim(user, claims \\ %{})

Link to this function

generate_email_pin(user)

Link to this function

generate_email_pin(user, exp_time)

Link to this function

generate_login_claim(user, email \\ nil)

Link to this function

generate_password_reset_claim(user)

Link to this function

generate_pin(user)

Link to this function

generate_pin(user, exp_time)

Link to this function

has_perms?(user, required_perms)

Check that the given user has all the provider permissions

Examples

iex> Guard.Authenticator.has_perms?(user, %{"admin" => ["read", "write"]}) false

Link to this function

list_api_keys(user)

Link to this function

request_email_change(user, email)

Link to this function

request_mobile_change(user, mobile)

Link to this function

reset_user(conn)

Link to this function

send_confirm_email(user)

Link to this function

send_contact_confirmation(user)

Link to this function

send_login_email(user)

Link to this function

send_reset_password_email(user)

Link to this function

send_welcome_email(user)

Link to this function

sign_in(conn, user, claims \\ %{})

Link to this function

switch_user(conn, user)

Link to this function

use_either_pin(user, pin)

Link to this function

use_email_pin(user, pin)

Link to this function

use_pin(user, pin)