Class: Doorkeeper::DeviceAuthorizationGrant::Errors::AuthorizationPending

Inherits:
Errors::DoorkeeperError
  • Object
show all
Defined in:
lib/doorkeeper/device_authorization_grant/errors.rb

Overview

The authorization request is still pending as the end user hasn’t yet completed the user-interaction steps.

The client SHOULD repeat the access token request to the token endpoint (a process known as polling). Before each new request, the client MUST wait at least the number of seconds specified by the “interval” parameter of the device authorization response, or 5 seconds if none was provided, and respect any increase in the polling interval required by the “slow_down” error.

Instance Method Summary collapse

Instance Method Details

#typeObject



16
17
18
# File 'lib/doorkeeper/device_authorization_grant/errors.rb', line 16

def type
  :authorization_pending
end