Options
All
  • Public
  • Public/Protected
  • All
Menu

Tunnel Credentials are ngrok agent authtokens. They authorize the ngrok agent to connect the ngrok service as your account. They are installed with the ngrok authtoken command or by specifying it in the ngrok.yml configuration file with the authtoken property.

Hierarchy

  • Credentials

Index

Constructors

Methods

Constructors

constructor

  • Do not construct this object directly, use the credentials property of an Ngrok client object instead.

    Parameters

    • httpClient: Wretcher

    Returns Credentials

Methods

create

  • Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.

    Parameters

    Returns Promise<Credential>

delete

  • delete(arg: Item): Promise<void>
  • Delete a tunnel authtoken credential by ID

    Parameters

    Returns Promise<void>

get

  • Get detailed information about a tunnel authtoken credential

    Parameters

    Returns Promise<Credential>

list

  • List all tunnel authtoken credentials on this account

    Returns Promise<Credential[]>

update

  • Update attributes of an tunnel authtoken credential by ID

    Parameters

    Returns Promise<Credential>

Generated using TypeDoc