### Navigation

- index
- modules |
- vSphere Automation SDK for Python 6.5.0 documentation »
- Module code »

# Source code for vmware.vapi.security.rest

    """
    Security context parser interface for REST presentation layer
    """

    __author__ = 'VMware, Inc.'
    __copyright__ = 'Copyright (c) 2015 VMware, Inc.  All rights reserved.'

    class SecurityContextParser(object):
        """
        Base class for all security context builders
        """
        def build(self, request):
            """
            Build the security context based on the authentication
            information in the request.

            :type  request: :class:`werkzeug.wrappers.Request`
            :param request: Request object
            :rtype: :class:`vmware.vapi.core.SecurityContext`
            :return: Security context object
            """
            pass

### Navigation

- index
- modules |
- vSphere Automation SDK for Python 6.5.0 documentation »
- Module code »