Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/net
ConnectionAuth
Class ConnectionAuth
Index
Constructors
constructor
Properties
challenge
cxn
message
request
status
Methods
attempt
respond
wait
For
wait
For
Challenge
wait
For
Resolution
Constructors
constructor
new
ConnectionAuth
(
cxn
:
Connection
)
:
ConnectionAuth
Parameters
cxn
:
Connection
Returns
ConnectionAuth
Properties
challenge
challenge
:
undefined
|
string
Readonly
cxn
cxn
:
Connection
message
message
:
undefined
|
string
request
request
:
undefined
|
string
status
status
:
AuthStatus
= None
Methods
attempt
attempt
(
timeout
?:
number
)
:
Promise
<
void
>
Parameters
timeout
:
number
= 300
Returns
Promise
<
void
>
respond
respond
()
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
For
waitFor
(
condition
:
()
=>
boolean
,
timeout
?:
number
)
:
Promise
<
void
>
Parameters
condition
:
()
=>
boolean
timeout
:
number
= 300
Returns
Promise
<
void
>
wait
For
Challenge
waitForChallenge
(
timeout
?:
number
)
:
Promise
<
void
>
Parameters
timeout
:
number
= 300
Returns
Promise
<
void
>
wait
For
Resolution
waitForResolution
(
timeout
?:
number
)
:
Promise
<
void
>
Parameters
timeout
:
number
= 300
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
challenge
cxn
message
request
status
Methods
attempt
respond
wait
For
wait
For
Challenge
wait
For
Resolution
Welshman Docs
Loading...