olp-sdk-authentication | @here/olp-sdk-ts
Module olp-sdk-authentication
Index
Classes
Interfaces
Type Aliases
Functions
Type Aliases
Token Requester Fn
Type declaration
Parameters
args: OAuthArgs
The arguments needed to get the access token.
Returns Promise<Token>
The generated access token.
Functions
load Credentials From File
Parses the credentials.properties file from the HERE platform and retrieves an object with user credentials.
Parameters
path: string
The path to the credentials.properties file.
Returns AuthCredentials
The object with the access key ID and access key secret.
request Token
Creates an access token.
Parameters
args: OAuthArgs
The arguments needed to get the access token.
Returns Promise<Token>
The generated access token.
Generated using TypeDoc
Gets an access token.