()
return jsonify(dict(
        status=401,
        sub_status=101,
        msg='The token has expired')), 401
Called in case an access token has expired. Reponse of this view is
    used to call the refresh token endpoint.
Called in case an access token has expired. Reponse of this view is
    used to call the refresh token endpoint.
Called in case an access token has expired . Reponse of this view is used to call the refresh token endpoint .
def expire_token_loader():
    """Called in case an access token has expired. Reponse of this view is
    used to call the refresh token endpoint."""
    return jsonify(dict(
        status=401,
        sub_status=101,
        msg='The token has expired')), 401
def expire_token_loader ( ) : return jsonify ( dict ( status = 401 , sub_status = 101 , msg = 'The token has expired' ) ) , 401