Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
auth/basicAuth
BasicAuthenticator
Class BasicAuthenticator
Hierarchy
BasicAuthenticator
Index
Constructors
constructor
Properties
app
Icon
Url
app
Name
code
Message
Component
login
Code
Digits
login
Duration
Time
max
Login
Attempt
mode
operator
state
Controller
Methods
create
Request
Delegator
get
Auth
Url
Constructors
constructor
new
Basic
Authenticator
(
stateController
:
BaseStateController
, operator
:
AuthHttpOperator
, __namedParameters
?:
BasicAuthOptions
)
:
BasicAuthenticator
Parameters
stateController:
BaseStateController
operator:
AuthHttpOperator
__namedParameters:
BasicAuthOptions
= {}
Returns
BasicAuthenticator
Properties
Optional
app
Icon
Url
app
Icon
Url
?:
string
Optional
app
Name
app
Name
?:
string
code
Message
Component
code
Message
Component
:
CodeMessageComponent
login
Code
Digits
login
Code
Digits
:
number
login
Duration
Time
login
Duration
Time
:
number
max
Login
Attempt
max
Login
Attempt
:
number
mode
mode
:
"strict"
|
"loose"
operator
operator
:
AuthHttpOperator
state
Controller
state
Controller
:
BaseStateController
Methods
create
Request
Delegator
create
Request
Delegator
<
Data
,
Channel
>
(
options
:
AuthDelegatorOptions
<
Data
,
Channel
>
)
:
(
req
:
IncomingMessage
, res
:
ServerResponse
, __namedParameters
:
RoutingInfo
)
=>
Promise
<
void
>
Type parameters
Data
Channel
:
SociablyChannel
Parameters
options:
AuthDelegatorOptions
<
Data
,
Channel
>
Returns
(
req
:
IncomingMessage
, res
:
ServerResponse
, __namedParameters
:
RoutingInfo
)
=>
Promise
<
void
>
(
req
:
IncomingMessage
, res
:
ServerResponse
, __namedParameters
:
RoutingInfo
)
:
Promise
<
void
>
Parameters
req:
IncomingMessage
res:
ServerResponse
__namedParameters:
RoutingInfo
Returns
Promise
<
void
>
get
Auth
Url
get
Auth
Url
<
Data
>
(
platform
:
string
, data
:
Data
, redirectUrl
?:
string
)
:
string
Type parameters
Data
Parameters
platform:
string
data:
Data
Optional
redirectUrl:
string
Returns
string
Modules
auth
core
create-
app
dev-
tools
dialogflow
http
line
messenger
next
redis-
state
script
stream
telegram
twitter
websocket
webview
Basic
Authenticator
constructor
app
Icon
Url
app
Name
code
Message
Component
login
Code
Digits
login
Duration
Time
max
Login
Attempt
mode
operator
state
Controller
create
Request
Delegator
get
Auth
Url
Generated using
TypeDoc