class User
- User
- Granite::Base
- Reference
- Object
Included Modules
- Crypto
- JSON::Serializable
- YAML::Serializable
Defined in:
models/user.cr:3models/user.cr:6
Constructors
Instance Method Summary
- #authenticate(password : String)
- #created_at : Time | Nil
- #created_at! : Time
- #created_at=(created_at : Time | Nil)
- #email : String | Nil
- #email! : String
- #email=(email : String | Nil)
- #hashed_password : String | Nil
- #hashed_password! : String
- #hashed_password=(hashed_password : String | Nil)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
- #name : String | Nil
- #name! : String
- #name=(name : String | Nil)
- #password
- #password=(password : Nil | String)
- #password_changed?
- #updated_at : Time | Nil
- #updated_at! : Time
- #updated_at=(updated_at : Time | Nil)
- #username : String | Nil
- #username! : String
- #username=(username : String | Nil)
- #valid_password_size?