Class: Bosh::Cli::Client::Uaa::TokenDecoder

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/client/uaa.rb

Instance Method Summary collapse

Instance Method Details

#decode(token) ⇒ Object



92
93
94
95
96
97
# File 'lib/cli/client/uaa.rb', line 92

def decode(token)
  CF::UAA::TokenCoder.decode(
    token.info['access_token'],
    {verify: false}, # token signature not verified because CLI doesn't have the secret key
    nil, nil)
end