README
abstract-service-model
Concept
request ->
io.handlerinvocationio.handlerinvokes sequentaly:authenticator.identifywith extracted tokens, (abstract methodauthTokensshould implement auth tokens extraction from Input data) ifauthenticatoris provided forioexecutable.runwith extracted data (abstract methoddatashould implement data extraction from Input data)- return Promise with
failmethod result ifidentifyorrunmethod return error,successmethod success otherwise
executable.runinvokes:_authenticatemethod ifidentityis provided forrunwhereidentitygets asked to check for realm and operation configured for executable (_authenticatemethod could be reimplemented)_executemethod - abstract, should implement actual logic.