Class: Doorkeeper::DeviceAuthorizationGrant::DeviceGrant
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Doorkeeper::DeviceAuthorizationGrant::DeviceGrant
- Includes:
- DeviceGrantMixin
- Defined in:
- lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb
Overview
Model class, similar to Doorkeeper ‘AccessGrant`, but specific for handling OAuth 2.0 Device Authorization Grant.
Instance Attribute Summary collapse
- #application_id ⇒ Integer
- #created_at ⇒ Time
- #device_code ⇒ String
- #expires_in ⇒ Integer
- #last_polling_at ⇒ Time?
- #resource_owner_id ⇒ Integer?
- #scopes ⇒ String
- #user_code ⇒ String?
Method Summary
Methods included from DeviceGrantMixin
Instance Attribute Details
#application_id ⇒ Integer
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 10
|
#created_at ⇒ Time
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 28
|
#device_code ⇒ String
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 22
|
#expires_in ⇒ Integer
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 16
|
#last_polling_at ⇒ Time?
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 31
|
#resource_owner_id ⇒ Integer?
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 13
|
#scopes ⇒ String
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 19
|
#user_code ⇒ String?
|
# File 'lib/doorkeeper/device_authorization_grant/orm/active_record/device_grant.rb', line 25
|