Class: Rack::OAuth2::AccessToken

Inherits:
Object
  • Object
show all
Defined in:
lib/patch/rack/oauth2/access_token.rb,
lib/patch/rack/oauth2/access_token/introspectable.rb

Defined Under Namespace

Modules: Introspectable

Instance Method Summary collapse

Instance Method Details

#initialize_with_expires_support(attributes = {}) ⇒ Object



4
5
6
7
# File 'lib/patch/rack/oauth2/access_token.rb', line 4

def initialize_with_expires_support(attributes = {})
  initialize_without_expires_support attributes
  self.expires_in ||= attributes[:expires]
end