Skip to content

Commit

Permalink
Updated the readme file with correct command
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanbabubb committed Jun 28, 2017
1 parent 686dc3d commit ffb5104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ For documentation see: https://rubygems.org/gems/cf-uaa-lib
token_issuer = CF::UAA::TokenIssuer.new("https://uaa.cloudfoundry.com", "vmc")
puts token_issuer.prompts.inspect
token = token_issuer.implicit_grant_with_creds(username: "<your_username>", password: "<your_password>")
token_info = TokenCoder.decode(token.info["access_token"], nil, nil, false) #token signature not verified
token_info = CF::UAA::TokenCoder.decode(token.info["access_token"], nil, nil, false) #token signature not verified
puts token_info["user_name"]

## Tests
Expand Down

0 comments on commit ffb5104

Please sign in to comment.