Wgctl::Server::Auth::Token
Inherits JSON::Serializable < Reference < Object
Constructors
new(id : String, name : String, token_hash : String, prefix : String, created_at : Time = Time.utc, expires_at : Time | Nil = nil, revoked_at : Time | Nil = nil, last_used_at : Time | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at
Sourceexpires_at
Sourceid
Sourcelast_used_at
Sourcename
Sourceprefix
Sourcerevoked?
Sourcerevoked_at
Sourcetoken_hash
Source