Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAuthHandlerApi

Auth handler API that provides convenient functions to create a session from args, and use it to login or logout of an auth service.

Hierarchy

  • IAuthHandlerApi

Index

Properties

createSessCfg

createSessCfg: (args: ICommandArguments) => ISession

Method to create a session config object from CLI arguments. This is equivalent to the handler method createSessCfgFromArgs.

Type declaration

promptParams

Prompting options for adding connection properties. The properties defaultTokenType and serviceDescription should be defined.

sessionLogin

sessionLogin: (session: AbstractSession) => Promise<string>

Method to login to authentication service with a session. This is equivalent to the handler method doLogin.

Type declaration

sessionLogout

sessionLogout: (session: AbstractSession) => Promise<void>

Method to logout of authentication service with a session. This is equivalent to the handler method doLogout.

Type declaration

Generated using TypeDoc