#NEWLINE# def save_verifier( self , token , verifier , request ) : #NEWLINE# #INDENT# "Save verifier to database.\n\n        A verifiersetter is required. It would be better to combine request\n        token and verifier together::\n\n            def verifiersetter(token, verifier, request):\n                tok = Grant.query.filter_by(token=token).first()\n                tok.verifier = verifier['oauth_verifier']\n                tok.user = get_current_user()\n                return tok.save()\n\n        .. admonition:: Note:\n\n            A user is required on verifier, remember to attach current\n            user to verifier.\n        " #NEWLINE# log . debug ( 'Save verifier %r for %r' , verifier , token ) #NEWLINE# self . _verifiersetter ( token = token , verifier = verifier , request = request )