-
request ->
io.handler
invocation -
io.handler
invokes sequentaly:authenticator.identify
with extracted tokens, (abstract methodauthTokens
should implement auth tokens extraction from Input data) ifauthenticator
is provided forio
executable.run
with extracted data (abstract methoddata
should implement data extraction from Input data)- return Promise with
fail
method result ifidentify
orrun
method return error,success
method success otherwise
-
executable.run
invokes:_authenticate
method ifidentity
is provided forrun
whereidentity
gets asked to check for realm and operation configured for executable (_authenticate
method could be reimplemented)_execute
method - abstract, should implement actual logic.
-
Notifications
You must be signed in to change notification settings - Fork 0
License
skazska/abstract-service-model
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published