rmapi-js
    Preparing search index...

    Class DeviceToken

    a device's token, which never expires: keep it with toString and read it back with parse

    Index
    • get deviceId(): string

      the device it was issued to

      Returns string

    • the token as text

      Returns string

    • the token as text

      Returns string

    • a token kept before; throws a TokenError if it is not a JWT that names a device and an account

      Parameters

      • text: string

      Returns DeviceToken