def get_authenticated_agent(self):
if self.is_authenticated():<EOL><INDENT>return self._proxy.get_authentication().get_agent()<EOL><DEDENT>else:<EOL><INDENT>raise IllegalState()<EOL><DEDENT>
Gets the agent authenticated to this session.
        This is the agent for which credentials are used either acquired
        natively or via an OsidProxyManager.
        return: (osid.authentication.Agent) - the authenticated agent
        raise:  IllegalState - is_authenticated() is false
        raise:  OperationFailed - unable to complete request
        compliance: mandatory - This method must be implemented.