Method: CF::UAA::TokenIssuer#authcode_uri

Defined in:
lib/uaa/token_issuer.rb

#authcode_uri(redirect_uri, scope = nil) ⇒ String

Constructs a uri that the client is to return to the browser to direct the user to the authorization server to get an authcode.

Parameters:

  • redirect_uri (String)

    is embedded in the returned uri so the server can redirect the user back to the caller’s endpoint.

Returns:

  • (String)

    uri which



200
201
202
# File 'lib/uaa/token_issuer.rb', line 200

def authcode_uri(redirect_uri, scope = nil)
  @target + authorize_path_args('code', redirect_uri, scope)
end