@kunalvarma05/lucifer
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Lucifer
constructor
policy
Router
authorize
router
Slug
Policy
Router
Action
Attribute
Attribute
Object
Auth
Request
Auth
Response
Auth
Token
Context
Entity
Policy
Route
Policy
Route
Handler
Policy
Router
Resolve
Policy
Input
Resource
Subject
Enriched
Object
Enricher
Policy
Hierarchy
Lucifer
Index
Constructors
constructor
Properties
policy
Router
Methods
authorize
router
Constructors
constructor
new
Lucifer
(
policyRouter
?:
PolicyRouter
)
:
Lucifer
Parameters
Default value
policyRouter:
PolicyRouter
= new SlugPolicyRouter()
Returns
Lucifer
Properties
Private
policy
Router
policy
Router
:
PolicyRouter
Methods
authorize
authorize
(
request
:
AuthRequest
)
:
Promise
<
AuthResponse
>
Parameters
request:
AuthRequest
Returns
Promise
<
AuthResponse
>
router
router
(
)
:
PolicyRouter
Returns
PolicyRouter
Generated using
TypeDoc