struct Authority::Sessions::CreateRequest
- Authority::Sessions::CreateRequest
- Struct
- Value
- Object
Included Modules
- Azu::Request
- JSON::Serializable
- Schema::Definition
- Schema::Validation
Defined in:
requests/sessions/create_request.crConstant 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
- #error_messages
- #errors
- #forward_url : String
- #password : String
- #remember : String
- #username : String
- #valid?
- #validate!