Class: Conjur::API::UnableAuthenticator
- Inherits:
-
Object
- Object
- Conjur::API::UnableAuthenticator
- 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
Instance Method Details
#needs_token_refresh? ⇒ Boolean
331 332 333 |
# File 'lib/conjur/base.rb', line 331 def needs_token_refresh? false end |
#refresh_token ⇒ Object
327 328 329 |
# File 'lib/conjur/base.rb', line 327 def refresh_token raise "Unable to re-authenticate using an access token" end |