def info():
    """Test to verify that you have been authenticated."""
    if current_app.testing or current_app.debug:
        return jsonify(dict(
            user=request.oauth.user.id,
            client=request.oauth.client.client_id,
            scopes=list(request.oauth.scopes)
        ))
    else:
        abort(404)
def info ( ) : if current_app . testing or current_app . debug : return jsonify ( dict ( user = request . oauth . user . id , client = request . oauth . client . client_id , scopes = list ( request . oauth . scopes ) ) ) else : abort ( 404 )
Test to verify that you have been authenticated.