An AccountManager can be used to control user accounts.

It supports creating, updating and retrieving accounts.

It may also support registration and associating devices with user accounts.

Hierarchy

  • ScriptAccountManager

Methods

  • Add a device with the given characteristics and associate it with the account of the given user.

    Parameters

    • username: null | string
    • deviceId: null | string
    • deviceAlias: null | string
    • deviceNumber: null | string
    • formFactor: null | string
    • type: null | string
    • expiresAt: Instant

    Returns void

  • Add a device with the given characteristics and associate it with the account of the given user.

    Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • account: null | object

    Returns void

  • Parameters

    Returns void

  • Parameters

    • account: null | object

    Returns void

  • Delete a device with the given ID, associated with the given account ID.

    Parameters

    • accountId: null | string
    • deviceId: null | string

    Returns void

  • Parameters

    • parameters: null | object

    Returns void

  • Parameters

    • userName: null | string
    • primaryEmail: null | string

    Returns null | string

  • Parameters

    • email: null | string

    Returns null | object

  • Parameters

    • phone: null | string

    Returns null | object

  • Parameters

    • userName: null | string

    Returns null | object

  • Parameters

    • userName: null | string

    Returns object[]

  • Returns boolean

  • Parameters

    • accountId: string

    Returns any[]

  • Parameters

    • subject: string

    Returns any[]

  • Parameters

    • foreignDomainName: string
    • foreignSubject: string

    Returns null | AccountAttributes

  • Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • account: null | object

    Returns boolean