cloudfoundry/cf-mysql-broker — pull request #10 by liuhewei (2014-08-08 10:51:55+00:00)
Title: Correct uaa access_token err when token refresh

When token expired, it failed when browsing instance's dashboard. Looking into the code, there is the problem in UaaSession.build refreshing token_info.

Before refresh, the access_token is a symbol.
#"eyJhbGciOiJSUzI1
After refresh, the access_token is a string.
#"eyJhbGciOiJ

The type of @info's key is changed but the method [access_token](https://github.com/cloudfoundry/cf-mysql-broker/blob/master/lib/uaa_session.rb#L44) just return symbol type.

This PR refers to [cf-uaa-lib](https://github.com/cloudfoundry/cf-uaa-lib/blob/master/lib/uaa/token_issuer.rb#L38).