Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Account

Hierarchy

  • Account

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Account(id: string, secret: string): Account
  • Parameters

    • id: string
    • secret: string

    Returns Account

Properties

id

id: string

secret

secret: string

servers

servers: { api: string; maps: string }

Type declaration

  • api: string
  • maps: string

Methods

api

  • Creates and returns a new ApiRequest configured for the account.

    memberof

    Account

    Parameters

    Returns ApiRequest

canAccess

  • canAccess(endpoint: string): boolean
  • Parameters

    • endpoint: string

    Returns boolean

credentials

  • credentials(): { id: string; secret: string }
  • Returns { id: string; secret: string }

    • id: string
    • secret: string

map

  • Creates and returns a new MapRequest configured for the account.

    memberof

    Account

    Parameters

    Returns MapRequest

permissions

  • Returns Permissions

Generated using TypeDoc