class Zipstream::BasicAuthHandler

Included Modules

Defined in:

zipstream/http/server/handlers/basic_auth_handler.cr

Constant Summary

AUTH = "Authorization"
AUTH_MESSAGE = "Could not verify your access level for that URL.\nYou have to login with proper credentials"
BASIC = "Basic"
HEADER_LOGIN_REQUIRED = "Basic realm=\"Login Required\""

Constructors

Instance Method Summary

Constructor Detail

def self.new(username : String, password : String) #

[View source]

Instance Method Detail

def call(context) #

[View source]