Class: StatelyDB::Common::Auth::TokenProvider

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

AuthTokenProvider

Instance Method Summary collapse

Instance Method Details

#closevoid

This method returns an undefined value.

Close the token provider and kill any background operations



19
20
21
# File 'lib/common/auth/token_provider.rb', line 19

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