class Doorkeeper::RevocableTokens::RevocableRefreshToken
Attributes
Public Class Methods
Source
# File lib/doorkeeper/revocable_tokens/revocable_refresh_token.rb, line 8 def initialize(token) @token = token end
Public Instance Methods
Source
# File lib/doorkeeper/revocable_tokens/revocable_refresh_token.rb, line 12 def revocable? !token.revoked? end
Source
# File lib/doorkeeper/revocable_tokens/revocable_refresh_token.rb, line 16 def revoke token.revoke end