php - Janrain server side response to Android app

176

Here's the documentation on how to implement Janrain engine in Android.

Example of server side response is here.

Quote: "As necessary create and return access tokens or session cookies in your endpoint's response.", I don't want to save data on session or cookies, I want to get just plain text to my app as response.

How can I do this?

Also I work with php, I don't really get ruby example.

717

Answer

Solution:

There is some sample PHP code at https://github.com/janrain/Janrain-Sample-Code/blob/master/php/rpx-token-url.php that returns a block of JSON. You could customize this code to return the plain text response you're looking for.

People are also looking for solutions to the problem: php - adding value and name to select box

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.