class StatelyDB::Common::Auth::TokenProvider

for individual token provider implementations
TokenProvider is an abstract base class that should be extended

def close

Returns:
  • (void) -
def close
  raise "Not Implemented"
end

def get_token(force: false) # rubocop:disable Lint/UnusedMethodArgument

Returns:
  • (String) - The current access token

Parameters:
  • force (Boolean) -- Whether to force a refresh of the token
def get_token(force: false) # rubocop:disable Lint/UnusedMethodArgument
  raise "Not Implemented"
end