Thread safe json auth manager