Module: OpenAI::Auth::SubjectTokenProvider

Instance Method Summary collapse

Instance Method Details

#get_tokenString

Returns:

  • (String)

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/openai/auth/subject_token_provider.rb', line 10

def get_token
  raise NotImplementedError.new("#{self.class} must implement #get_token")
end

#token_typeSymbol

Returns:

  • (Symbol)

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/openai/auth/subject_token_provider.rb', line 6

def token_type
  raise NotImplementedError.new("#{self.class} must implement #token_type")
end