anchor.diff:  # Gamers routes 
   
   In addition to the Authentication above, gamers are authenticated too.
  +Before playing, the gamer needs an identity... Login provides such an identity.
   
  -In the Clan, every user starts as an anonymous user. He can then opt-in to authenticate with Facebook or Google+.
  -He can then use FB to authenticate even on other devices or to other games.
   
  -There's no account creation... It's just an anonymous login (which creates an account that *should* be reused if possible), 
  -then Facebook or Google+ identities are automatically linked to his account as needed.
  +## Login [/v1/gamer/login]
   
  -## Anonymous Login [/v1/gamer/login/anonymous]
  +The login route is used for authenticate a gamer
   
  -Before playing, the gamer needs an identity... Anonymous login provides such an identity.
  +HTTP Basic Authentication is used to authenticate all other requests, using the token returned by the request.
   
  -The response contains a `gamer_id` and a `gamer_token`. Both are opaque values and will be used to authenticate the gamer (with HTTP Basic Authentication).
  +The response contains  a `gamer_token`. Its an opaque value and will be used to authenticate the gamer (with HTTP Basic Authentication).
   
  -It is your responsibility to store the gamer_id and gamer_token to help the user log in later.
  +It is your responsibility to store the gamer_token to help the user log in later.
   
  -### Anonymous login [POST]
  +Login for authenticated gamers will one of theese components: 
  +
  +* Facebook identity: use the `ID` and the `oauth token` from Facebook
  +
  +* Google+ identity: use the `ID` and the `oauth token` from Google+
  +
  +###### body description
  +
  +|Field|Description|Value|
  +|---|---|---|
  +|network|string, required|can be one of ["email", "facebook", "googleplus"]
  +|facebookid|string, required when {network=facebook}| the ID returned by facebook sdk
  +|facebooktoken|string, required when {network=facebook}| the token returned by facebook sdk
  +|googleplusid|string, required when {network=googleplus}| the ID returned by google sdk
  +|googleplustoken|string, required when {network=googleplus}| the token returned by google sdk
  +
  +###### response description
  +|Field|Description|Value|
  +|---|---|---|
  +|gamertoken|string| token used in basic authentication for gamer authenticate requests
  +|profile|json| gamer's profile, including "name", "email", "nickname", ...
  +|vfs|json| list of key/value associated to the app/game
  +|gamervfs|json| list of key/value associated to the gamer
  +|matches|json| array of match currently in open state of the gamer
  +
  +### Login [POST]
   
   + Request (application/json)
   
  
positive.code: |---|---|---|
  |gamervfs|json| list of key/value associated to the gamer
  
  
  + Request
  
      + Headers
      
              Authentication : Basic gamertoken
  
  + Response 200 (application/json)
  
          {
              "gamervfs" : {}
          }
  
  + Response 401 (application/json)
  
negative.code:             x-apikey : test_api_key
              x-apisecret : test_api_secret
  
      + Body
          
              { 
                  "network": "facebook",
                  "facebookid" : "1000001010",
                  "facebooktoken" : "CAAIoRjU6xxYBAAy5Ymu...7XAehrcVQBUOG7oBVNatEUZD"
              }
  
  + Response 200 (application/json)
  
          {
              "gamer_token" : "dfg54g2dfg54sqdf32wfds54fqdf",
              "profile" : {},
              "vfs" : {},
              "gamervfs" : {}
          }
  
  + Response 401 (application/json)
  