Implements SecurityContext
Contents
This represents the security context of the Deliverance request. This is stored in environ['deliverance.security_context'] and is local to the request.
The three primary security-related restrictions are:
Each of these is a method that takes the request.
When instantiating, the default value of None means that the value should be guessed from the environment.
This uses the developer auth spec for guessing when a value is None.
Also if you use force_dev_auth=True then DevAuth login will not be required, and at all times you will be logged in as a dev user.
Get the security context and call .display_logging on it
Get the security context and call .display_local_files on it
Get the security context and call .execute_pyref on it