Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
auth
AuthController
Class AuthController<Authenticator>
Type parameters
Authenticator
:
AnyServerAuthenticator
Hierarchy
AuthController
Index
Constructors
constructor
Properties
api
Pathname
authenticators
operator
secret
Methods
delegate
Auth
Request
verify
Auth
Constructors
constructor
new
Auth
Controller
<
Authenticator
>
(
operator
:
AuthHttpOperator
, authenticators
:
Authenticator
[]
)
:
AuthController
<
Authenticator
>
Type parameters
Authenticator
:
ServerAuthenticator
<
unknown
,
unknown
,
AnyAuthContext
,
Authenticator
>
Parameters
operator:
AuthHttpOperator
authenticators:
Authenticator
[]
Returns
AuthController
<
Authenticator
>
Properties
api
Pathname
api
Pathname
:
string
authenticators
authenticators
:
Authenticator
[]
operator
operator
:
AuthHttpOperator
secret
secret
:
string
Methods
delegate
Auth
Request
delegate
Auth
Request
(
req
:
IncomingMessage
, res
:
ServerResponse
, routingInfo
?:
RoutingInfo
)
:
Promise
<
void
>
Parameters
req:
IncomingMessage
res:
ServerResponse
Optional
routingInfo:
RoutingInfo
Returns
Promise
<
void
>
verify
Auth
verify
Auth
(
req
:
HttpRequestInfo
, tokenProvided
?:
string
)
:
Promise
<
AuthVerifyResult
<
Authenticator
>
>
Parameters
req:
HttpRequestInfo
Optional
tokenProvided:
string
Returns
Promise
<
AuthVerifyResult
<
Authenticator
>
>
Modules
auth
auth/basic
Auth
auth/client
default
core
create-
app
dev-
tools
dialogflow
http
line
messenger
next
redis-
state
script
stream
telegram
twitter
websocket
webview
Auth
Controller
constructor
api
Pathname
authenticators
operator
secret
delegate
Auth
Request
verify
Auth
Generated using
TypeDoc