The default token type to use if not specified as a command line option
The profile type where token type and value should be stored
The description of your service to be used in CLI prompt messages
This is called by the {@link AbstractAuthHandler#process} when it needs a session. Should be used to create a session to connect to the auth service.
The command line arguments to use for building the session
The session object built from the command line arguments.
Returns auth handler API that provides convenient functions to create a session from args, and use it to login or logout of an auth service.
This is called by the "config secure" handler when it needs to prompt for connection info to obtain an auth token.
A tuple containing:
This handler is used for both "auth login" and "auth logout" commands.
It determines the correct action to take and calls either processLogin
or processLogout
accordingly.
Command parameters sent by imperative.
Performs the login operation and stores the new token in the profile.
Performs the logout operation and deletes the old token from the profile.
Generated using TypeDoc
This class is used by the auth command handlers as the base class for their implementation.