Class: Conjur::API::UnableAuthenticator

Inherits:
Object
  • Object
show all
Includes:
MonotonicTime
Defined in:
lib/conjur/base.rb

Overview

When the API is constructed with a token, the token cannot be refreshed.

Instance Method Summary collapse

Methods included from MonotonicTime

#monotonic_time

Instance Method Details

#needs_token_refresh?Boolean

Returns:

  • (Boolean)


331
332
333
# File 'lib/conjur/base.rb', line 331

def needs_token_refresh?
  false
end

#refresh_tokenObject



327
328
329
# File 'lib/conjur/base.rb', line 327

def refresh_token
  raise "Unable to re-authenticate using an access token"
end