Class CrowdSecClientAbstract
Constructors
Protectedconstructor
- new CrowdSecClient(options): CrowdSecClient
Properties
Protecteddebug
debug: Debugger
Protected Statichttp
http: AxiosInstance
Accessors
http
- get http(): AxiosInstance
Returns AxiosInstance
Methods
Protected_testConnection
- _testConnection(url): Promise<void>
Returns Promise<void>
Abstractlogin
- login(): Promise<void>
Returns Promise<void>
ProtectedsetAuthenticationByTLS
- setAuthenticationByTLS(auth): void
Returns void
ProtectedsetAuthenticationHeaders
- setAuthenticationHeaders(headers): void
Parameters
- headers: Record<string, string>
Returns void
Abstractstop
- stop(): Promise<void>
Returns Promise<void>
AbstracttestConnection
- testConnection(): Promise<void>
Returns Promise<void>
Protected StaticgetHTTPClient
- getHTTPClient(options): AxiosInstance
Returns AxiosInstance
stop the current client, and running processes