def validate(self, request):
        self.response_type = request.REQUEST.get('response_type')
        self.client_id = request.REQUEST.get('client_id')
        self.redirect_uri = request.REQUEST.get('redirect_uri')
        self.scope = request.REQUEST.get('scope')
        if self.scope is not None:
            self.scope = set(self.scope.split())
        self.state = request.REQUEST.get('state')
        self.user = request.user
        self.request = request
        try:
            self._validate()
        except AuthorizationException, e:
            self._check_redirect_uri()
            self.error = e
            raise e
        self.valid = True
Test ConfigureLocalName.
dataset/ETHPy150Open hiidef/oauth2app/oauth2app/authorize.py/Authorizer.validate--crossover with--dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/systemconfig_test.py/SysconfigModuleTest.testConfigureLocalName