Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Auth

Auth accesses information about an Elld client

export
class

Auth

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected client

client: RPCClient

Methods

authenticate

  • authenticate(username: string, password: string): Promise<string>
  • Retrieve a session token from the node.

    memberof

    Auth

    Parameters

    • username: string

      The RPC username

    • password: string

      The RPC password

    Returns Promise<string>

    The session token