Method: CF::UAA::TokenIssuer#prompts
- Defined in:
- lib/uaa/token_issuer.rb
#prompts ⇒ Hash
Allows an app to discover what credentials are required for #implicit_grant_with_creds.
118 119 120 121 122 |
# File 'lib/uaa/token_issuer.rb', line 118 def prompts reply = json_get(@target, '/login') return reply[jkey :prompts] if reply && reply[jkey :prompts] raise BadResponse, "No prompts in response from target #{@target}" end |