Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecureHandler

Hierarchy

  • SecureHandler

Implements

Index

Properties

Private params

The parameters object passed to the command handler.

Methods

Private handlePromptForAuthToken

  • handlePromptForAuthToken(config: Config, propPath: string): Promise<string | undefined>
  • Checks if authentication service is associated with an auth token property. If an auth service is found, we log in to it obtain the token instead of prompting for the value.

    Parameters

    • config: Config

      Team config class from which the property was loaded

    • propPath: string

      JSON property path of the auth token

    Returns Promise<string | undefined>

    Token value, or undefined if none was obtained

process

Generated using TypeDoc