Module: MicrosoftKiotaAbstractions::AccessTokenProvider
- Defined in:
- lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb
Overview
Access Token Provider Module implementation
Instance Attribute Summary collapse
-
#host_validator ⇒ Object
Returns the value of attribute host_validator.
-
#scopes ⇒ Object
Returns the value of attribute scopes.
Instance Method Summary collapse
-
#get_authorization_token(uri, additional_properties = {}) ⇒ Object
This function obtains the authorization token.
Instance Attribute Details
#host_validator ⇒ Object
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 |
#scopes ⇒ Object
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
13 14 15 |
# File 'lib/microsoft_kiota_abstractions/authentication/access_token_provider.rb', line 13 def (uri, additional_properties = {}) raise NotImplementedError.new end |