GuidesTypeScript API ReferencePython v2 API Reference

UserAuth | @here/olp-sdk-ts

UserAuth | @here/olp-sdk-ts
Options
All
  • Public
  • Public/Protected
  • All
Menu

Used to get and validate an access token, and to get user data.

Hierarchy

  • UserAuth

Index

Constructors

Methods

  • getToken(): Promise<string>
  • Retrieves the access token.

    Returns Promise<string>

    The access token if it is valid, or an error if at least one of the following credentials is not stated: access key ID or access key secret.

  • getUserInfo(userToken: string): Promise<UserInfo>
  • validateAccessToken(token: string): Promise<string | boolean>

Legend

  • Namespace
  • Variable
  • Function
  • Type alias
  • Class
  • Class with type parameter
  • Constructor
  • Method
  • Enumeration
  • Interface

Settings

Theme

Generated using TypeDoc