Class CrowdSecClientAbstract
Constructors
Properties
Protected
debug
debug: Debugger = debug
Protected
Static
http
http: AxiosInstance
Accessors
http
- get http(): AxiosInstance
Returns AxiosInstance
Methods
Protected
_testConnection
- _testConnection(url): Promise<void>
Returns Promise<void>
Abstract
login
- login(): Promise<void>
Returns Promise<void>
Protected
setAuthenticationByTLS
- setAuthenticationByTLS(auth): void
Returns void
Protected
setAuthenticationHeaders
- setAuthenticationHeaders(headers): void
Parameters
- headers: Record<string, string>
Returns void
Abstract
stop
- stop(): Promise<void>
Returns Promise<void>
Abstract
testConnection
- testConnection(): Promise<void>
Returns Promise<void>
Protected
Static
getHTTPClient
- getHTTPClient(options): AxiosInstance
Returns AxiosInstance
stop the current client, and running processes