Class: StatelyDB::Common::Auth::TokenFetcher

Inherits:
Object
  • Object
show all
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

StatelyAccessTokenFetcher

Instance Method Summary collapse

Instance Method Details

#closevoid

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

#fetchStatelyDB::Common::Auth::TokenResult

Get the current access token

Returns:



35
36
37
# File 'lib/common/auth/token_fetcher.rb', line 35

def fetch
  raise "Not Implemented"
end