@health-samurai/aidbox-client
Preparing search index...
BasicAuthProvider
Class BasicAuthProvider
Implements
AuthProvider
Index
Constructors
constructor
Methods
establish
Session
revoke
Session
fetch
Constructors
constructor
new
BasicAuthProvider
(
baseUrl
:
string
,
username
:
string
,
password
:
string
,
)
:
BasicAuthProvider
Parameters
baseUrl
:
string
username
:
string
password
:
string
Returns
BasicAuthProvider
Methods
establish
Session
establishSession
()
:
Promise
<
void
>
Returns
Promise
<
void
>
revoke
Session
revokeSession
()
:
Promise
<
void
>
Returns
Promise
<
void
>
fetch
fetch
(
input
:
RequestInfo
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
Parameters
input
:
RequestInfo
|
URL
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
establish
Session
revoke
Session
fetch
@health-samurai/aidbox-client
Loading...