Cell API
Docs
GitHub
Preparing search index...
@celljs/security
node
UserMiddleware
Class UserMiddleware
Implements
TestApp
Index
Constructors
constructor
Properties
path
Resolver
priority
request
Matcher
user
Info
Endpoint
Methods
can
Handle
handle
Constructors
constructor
new
UserMiddleware
()
:
UserMiddleware
Returns
UserMiddleware
Properties
Protected
Readonly
path
Resolver
pathResolver
:
PathResolver
Readonly
priority
priority
:
number
= USER_MIDDLEWARE_PRIORITY
Protected
Readonly
request
Matcher
requestMatcher
:
RequestMatcher
Protected
Readonly
user
Info
Endpoint
userInfoEndpoint
:
any
Methods
can
Handle
canHandle
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
handle
handle
(
ctx
:
Context
,
next
:
()
=>
Promise
<
void
>
)
:
Promise
<
void
>
Parameters
ctx
:
Context
next
:
()
=>
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
path
Resolver
priority
request
Matcher
user
Info
Endpoint
Methods
can
Handle
handle
Docs
GitHub
Cell API
Loading...