#NEWLINE# def validate_token( self , request , consumer , token ) : #NEWLINE# #INDENT# '\n        Check the token and raise an `oauth.Error` exception if invalid.\n        ' #NEWLINE# ( oauth_server , oauth_request ) = oauth_provider . utils . initialize_server_request ( request ) #NEWLINE# oauth_server . verify_request ( oauth_request , consumer , token )