here.platform.api.aaa_oauth2_api module#
This module contains an AAAOauth2Api class to perform oauth API operations.
The HERE API reference documentation used in this module can be found here: IAM API Reference # noqa
- class here.platform.api.aaa_oauth2_api.AAAOauth2Api(base_url: str, platform_config: PlatformConfig, application_config: ApplicationConfig, proxies: dict | None = None)[source]#
Bases:
BaseApiThis class provides access to HERE platform AAA Oauth2 APIs.
- request_scoped_access_token(oauth: OAuth1, data: str) dict[source]#
Request scoped access oauth2 token from platform.
- Parameters:
oauth – oauth1 configuration.
data – a string which represents request body.
- Returns:
a json with scoped access token.
- Raises:
PlatformException – If platform responds with an HTTP error.