struct

Crabbit::OAuth2Token

Inherits Struct < Value < Object

Access token returned by an OAuth2TokenProvider.

expires_at uses the monotonic Time::Instant clock and must be in the future when installed.

Constructors

new(value : String, expires_at : Time::Instant)
Source

Instance methods

clone
Source
copy_with(value _value = @value, expires_at _expires_at = @expires_at)
Source
expires_at
value