(self, request)
return self.grant_redirect()
Validate the request. Returns an error redirect if the
        request fails authorization, or a MissingRedirectURI if no
        redirect_uri is available.

        **Args:**

        * *request:* Django HttpRequest object.

        *Returns HTTP Response redirect*
Validate the request. Returns an error redirect if the
        request fails authorization, or a MissingRedirectURI if no
        redirect_uri is available.
Validate the request . Returns an error redirect if the request fails authorization or a MissingRedirectURI if no redirect_uri is available .
def __call__(self, request):
        """Validate the request. Returns an error redirect if the
        request fails authorization, or a MissingRedirectURI if no
        redirect_uri is available.

        **Args:**

        * *request:* Django HttpRequest object.

        *Returns HTTP Response redirect*"""
        try:
            self.validate(request)
        except AuthorizationException, e:
            # The request is malformed or invalid. Automatically
            # redirects to the provided redirect URL.
            return self.error_redirect()
        return self.grant_redirect()
def __call__ ( self , request ) : try : self . validate ( request ) except AuthorizationException , e : # The request is malformed or invalid. Automatically # redirects to the provided redirect URL. return self . error_redirect ( ) return self . grant_redirect ( )