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 ⇒ void
Close the token provider and kill any background operations.
-
#fetch ⇒ StatelyDB::Common::Auth::TokenResult
Get the current access token.
Instance Method Details
#close ⇒ void
This method returns an undefined value.
Close the token provider and kill any background operations
41 42 43 |
# File 'lib/common/auth/token_fetcher.rb', line 41 def close raise "Not Implemented" end |
#fetch ⇒ StatelyDB::Common::Auth::TokenResult
Get the current access token
35 36 37 |
# File 'lib/common/auth/token_fetcher.rb', line 35 def fetch raise "Not Implemented" end |