@nats-io/nats-core
Preparing search index...
usernamePasswordAuthenticator
Function usernamePasswordAuthenticator
usernamePasswordAuthenticator
(
user
:
string
|
(
()
=>
string
)
,
pass
?:
string
|
(
()
=>
string
)
,
)
:
Authenticator
Returns a user/pass authenticator for the specified user and optional password
Parameters
user
:
string
|
(
()
=>
string
)
Optional
pass
:
string
|
(
()
=>
string
)
Returns
Authenticator
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@nats-io/nats-core
Loading...
Returns a user/pass authenticator for the specified user and optional password