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

#closeObject

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

#fetchTokenResult

Get the current access token



30
31
32
# File 'lib/common/auth/token_fetcher.rb', line 30

def fetch
  raise "Not Implemented"
end