Class: Conjur::API::UnableAuthenticator
- Inherits:
-
Object
- Object
- Conjur::API::UnableAuthenticator
- Defined in:
- lib/conjur/base.rb
Overview
When the API is constructed with a token, the token cannot be refreshed.
Instance Method Summary collapse
Instance Method Details
#needs_token_refresh? ⇒ Boolean
255 256 257 |
# File 'lib/conjur/base.rb', line 255 def needs_token_refresh? false end |
#refresh_token ⇒ Object
251 252 253 |
# File 'lib/conjur/base.rb', line 251 def refresh_token raise "Unable to re-authenticate using an access token" end |