def authorized_handler(self, f):
        """Decorates the authorization callback endpoint. The endpoint should
        take one argument, a flask.ext.micropub.AuthResponse.
        """
        @functools.wraps(f)
        def decorated():
            resp = self._handle_authorize_response()
            return f(resp)
        self._authorized_handler = decorated
        return decorated
def authorized_handler ( self , f ) : @ functools . wraps ( f ) def decorated ( ) : resp = self . _handle_authorize_response ( ) return f ( resp ) self . _authorized_handler = decorated return decorated
Decorates the authorization callback endpoint. The endpoint should
        take one argument, a flask.ext.micropub.AuthResponse.