UNPKG

@sap/xssec

Version:

XS Advanced Container Security API for node.js

8 lines (7 loc) 386 B
/** * The symbol which should be used as location on the req object for the SecurityContext after authentication. * The middleware of IdentityServiceAuthProvider from @sap/ams expects to find it there to create an Authorization object * from the SecurityContext for privilege checks. */ const SECURITY_CONTEXT = Symbol("XSSEC_SECURITY_CONTEXT"); module.exports = SECURITY_CONTEXT;