Class: StatelyDB::Common::Auth::TokenProvider
- Inherits:
-
Object
- Object
- StatelyDB::Common::Auth::TokenProvider
- Defined in:
- lib/common/auth/token_provider.rb
Overview
TokenProvider is an abstract base class that should be extended for individual token provider implementations
Direct Known Subclasses
Instance Method Summary collapse
-
#close ⇒ Object
Close the token provider and kill any background operations.
-
#get_token(force: false) ⇒ String
Get the current access token.
Instance Method Details
#close ⇒ Object
Close the token provider and kill any background operations
18 19 20 |
# File 'lib/common/auth/token_provider.rb', line 18 def close raise "Not Implemented" end |
#get_token(force: false) ⇒ String
Get the current access token
13 14 15 |
# File 'lib/common/auth/token_provider.rb', line 13 def get_token(force: false) # rubocop:disable Lint/UnusedMethodArgument raise "Not Implemented" end |