Class AuthorizationProvider
Methods
getAuthorizations
- getAuthorizations(user: User): PromiseLike<void>
- getAuthorizations(user: User, handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>): void
-
Parameters
Returns PromiseLike<void>
-
Parameters
-
-
handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>
Returns void
getId
-
Returns string
Static create
-
Parameters
The role of an AuthorizationProvider is to return a set of Authorization. Note that each AuthorizationProvider must provide its own unique Id