Some comments on the client gateway cache datastructure
Bearer and basic authentication using token :)