class Kemal::Authorizer::Config

Defined in:

kemal-authorizer/config.cr

Constant Summary

DEFAULT_ANONYMOUS_URL = "/"
DEFAULT_LOGIN_URL = "/login"
DEFAULT_OBJ_NAME = "user"
DEFAULT_USER_TYPE = Kemal::Authorizer::UserStorableObject
INSTANCE = self.new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def anonymous_url : String #

[View source]
def anonymous_url=(anonymous_url : String) #

[View source]
def login_url : String #

[View source]
def login_url=(login_url : String) #

[View source]
def user_obj_name : String #

[View source]
def user_obj_name=(user_obj_name : String) #

[View source]
def user_type : Kemal::Authorizer::StorableUser.class #

[View source]
def user_type=(new_type : Kemal::Authorizer::StorableUser.class) #

[View source]