Class
OAuth2::AccessToken
In:
lib/oauth2/access_token.rb
Parent:
Object
Methods
[]
delete
expired?
expires?
get
new
post
put
request
Attributes
client
[R]
expires_at
[R]
expires_in
[R]
params
[R]
refresh_token
[R]
token
[R]
token_param
[RW]
Public Class methods
new
(client, token, refresh_token=nil, expires_in=nil, params={})
Public Instance methods
[]
(key)
delete
(path, params={}, headers={})
expired?
()
expires?
()
True if the token in question has an expiration time.
get
(path, params={}, headers={})
post
(path, params={}, headers={})
put
(path, params={}, headers={})
request
(verb, path, params={}, headers={})
[Validate]