This thread already exists, but it's old and I want to put it in the feature requests.
I think there should be an explicit API call for the client to logout of PlayFab.
In our game, players might change from guest to Facebook account, change Facebook users, or logout back to guest.
I feel the API should allow for logout and login with new accesstoken / user details easily.