sentinel v2.0.0 Sentinel.Config

Wraps application configuration for Sentinel for easy access

Summary

Functions

Wrapper for getting the application config of :app_name

Wrapper for getting the application config of :auth_handler

Wrapper for getting the application config of :confirmable

Wrapper for getting the application config of :confirmable_redirect_url

Wrapper for getting the application config of :crypto_provider

Wrapper for getting the application config of :email_css

Wrapper for getting the application config of :endpoint

Wrapper for getting the application config of :error_view

Wrapper for getting the application config of :invitable

Helper method ensuring invitable is properly configured

Wrapper for getting the application config of :invitation_registration_url

Wrapper for getting the application config of :password_reset_url

Wrapper for getting the application config of :reply_to, defaults to the send_address

Wrapper for getting the application config of :repo

Wrapper for getting the application config of :router

Wrapper for getting the application config of :router_helper

Helper method ensuring router helper is properly configured

Wrapper for getting the application config of :send_address

Wrapper for getting the application config of :send_emails. Defaults to true Used by Sentinel to know if the application should actually send emails in the environment you’re operating in

Retrieves list of tuples of {ueberauth_provider, auth_url}

Wrapper for getting the application config of :user_model

Wrapper for getting the application config of :user_model_validator

Wrapper for getting the application config of :user_view

Functions

app_name()

Wrapper for getting the application config of :app_name

auth_handler()

Wrapper for getting the application config of :auth_handler

confirmable()

Wrapper for getting the application config of :confirmable

confirmable_redirect_url()

Wrapper for getting the application config of :confirmable_redirect_url

crypto_provider()

Wrapper for getting the application config of :crypto_provider

email_css_url()

Wrapper for getting the application config of :email_css

endpoint()

Wrapper for getting the application config of :endpoint

error_view()

Wrapper for getting the application config of :error_view

invitable()

Wrapper for getting the application config of :invitable

invitable_configured?()

Helper method ensuring invitable is properly configured

invitation_registration_url()

Wrapper for getting the application config of :invitation_registration_url

layout()
layout_view()
password_reset_url()

Wrapper for getting the application config of :password_reset_url

reply_to()

Wrapper for getting the application config of :reply_to, defaults to the send_address

repo()

Wrapper for getting the application config of :repo

router()

Wrapper for getting the application config of :router

router_helper()

Wrapper for getting the application config of :router_helper

router_helper_configured?()

Helper method ensuring router helper is properly configured

send_address()

Wrapper for getting the application config of :send_address

send_emails?()

Wrapper for getting the application config of :send_emails. Defaults to true Used by Sentinel to know if the application should actually send emails in the environment you’re operating in

ueberauth_providers()

Retrieves list of tuples of {ueberauth_provider, auth_url}

user_model()

Wrapper for getting the application config of :user_model

user_model_validator()

Wrapper for getting the application config of :user_model_validator

user_view()

Wrapper for getting the application config of :user_view