Class: Doorkeeper::DeviceAuthorizationGrant::Request::DeviceAuthorization

Inherits:
Request::Strategy
  • Object
show all
Defined in:
lib/doorkeeper/device_authorization_grant/request/device_authorization.rb

Overview

Doorkeeper strategy for OAuth 2.0 Device Authorization Requests.

Instance Method Summary collapse

Instance Method Details

#requestOAuth::DeviceAuthorizationRequest



13
14
15
16
17
18
19
20
# File 'lib/doorkeeper/device_authorization_grant/request/device_authorization.rb', line 13

def request
  @request ||= OAuth::DeviceAuthorizationRequest.new(
    Doorkeeper.configuration,
    client,
    host_name,
    parameters
  )
end