def METHOD_NAME(
    token_type, rf, staff_user, customer_user
):
    staff_access_token = create_access_token(staff_user)
    request = rf.request(
        HTTP_AUTHORIZATION_BEARER=f"{staff_access_token}",
        HTTP_AUTHORIZATION=f"{token_type} ABC1234",
    )
    backend = JSONWebTokenBackend()
    user = backend.authenticate(request)
    assert user == staff_user