Class: StatelyDB::Common::Auth::TokenFetcher
- Inherits:
-
Object
- Object
- StatelyDB::Common::Auth::TokenFetcher
- Defined in:
- lib/common/auth/token_fetcher.rb
Overview
TokenFetcher is an abstract base class that should be extended for individual token fetcher implementations
Direct Known Subclasses
Instance Method Summary collapse
-
#close ⇒ Object
Close the token provider and kill any background operations.
-
#fetch ⇒ TokenResult
Get the current access token.
Instance Method Details
#close ⇒ Object
Close the token provider and kill any background operations
35 36 37 |
# File 'lib/common/auth/token_fetcher.rb', line 35 def close raise "Not Implemented" end |
#fetch ⇒ TokenResult
Get the current access token
30 31 32 |
# File 'lib/common/auth/token_fetcher.rb', line 30 def fetch raise "Not Implemented" end |