struct Authority::Sessions::CreateRequest

Included Modules

Defined in:

requests/sessions/create_request.cr

Constant Summary

SCHEMA_VALIDATIONS = {username => {message: "Username must be present.", presence: true}, password => {message: "Password must be present.", presence: true}, remember => {message: "Remember must be present.", presence: false}, forward_url => {message: "Forward_url must be present.", presence: false}} of Nil => Nil
SCHEMA_VALIDATORS = [] of Nil

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(http_params, path : Array(String) = [] of String) #

Class Method Detail

def self.from_urlencoded(string) #

Instance Method Detail

def error_messages #

[View source]
def errors #

def forward_url : String #

[View source]
def password : String #

[View source]
def remember : String #

[View source]
def username : String #

[View source]
def valid? #

def validate! #