class Tokens
- Tokens
- Granite::Base
- Reference
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
models/tokens.cr:1models/tokens.cr:3
Constructors
Class Method Summary
Instance Method Summary
- #access_token : String | Nil
- #access_token! : String
- #access_token=(access_token : String | Nil)
-
#access_token_or_refresh_it!
refreshes the access token
- #created_at : Time | Nil
- #created_at! : Time
- #created_at=(created_at : Time | Nil)
- #expires_in : Int32 | Nil
- #expires_in! : Int32
- #expires_in=(expires_in : Int32 | Nil)
- #id : Int64 | Nil
- #id! : Int64
- #id=(id : Int64 | Nil)
- #refresh
- #refresh_token : String | Nil
- #refresh_token! : String
- #refresh_token=(refresh_token : String | Nil)
- #updated_at : Time | Nil
- #updated_at! : Time
- #updated_at=(updated_at : Time | Nil)
- #user : User | Nil
- #user! : User
- #user=(parent : User)
- #user_id : Int64 | Nil
- #user_id! : Int64
- #user_id=(user_id : Int64 | Nil)