admin is the only object that unlogged-in clients can access. It holds any methods that are needed to log in.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "Admin"
VERSION: number = 3
_transport: Transport
NAME: string = "Admin"
VERSION: number = 3

Methods

  • Login logs in with the provided credentials. All subsequent requests on the connection will act as the authenticated user.

    Parameters

    Returns Promise<LoginResult>

  • RedirectInfo returns redirected host information for the model. In Juju it always returns an error because the Juju controller does not multiplex controllers.

    Parameters

    • params: any

    Returns Promise<RedirectInfoResult>

Generated using TypeDoc