Module: MicrosoftKiotaAbstractions::AccessTokenProvider

Defined in:
lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb

Overview

Access Token Provider Module implementation

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#host_validatorObject

Returns the value of attribute host_validator.



17
18
19
# File 'lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb', line 17

def host_validator
  @host_validator
end

#scopesObject

Returns the value of attribute scopes.



17
18
19
# File 'lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb', line 17

def scopes
  @scopes
end

Instance Method Details

#get_authorization_token(uri, additional_properties = {}) ⇒ Object

This function obtains the authorization token. :params

uri: a string containing the uri 
additional_params: hash of symbols to string values, ie { response_mode: 'fragment', prompt: 'login' }
                   default is empty hash

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb', line 13

def get_authorization_token(uri, additional_properties = {})
  raise NotImplementedError.new
end