Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All resource requests (APIs Call) are requiring oauth2 authentication.

...

Grant Types

Grant Types allow to expose multiple ways for a client to receive an Access Token. Currently supported grant types:

...

example.com/restful_api/authorize

...

Token Endpoint

Which uses the configured Grant Types to return an access token to the client.

...

example.com/restful_api/token

...

Tutorials

This project aims to create an easy-t-understand and well-tested framework for creating APIs. On this page, we will explain the basics of using phpFox RESTful API such as sending and receiving data, serializing data in HTTP requests, and more.

...

Wiki Markup
{"access_token":"ACCESS_TOKEN","expires_in":86400,"token_type":"bearer","scope":"null":"REFRESH_TOKEN"}

...

Get implicit

Setting the query string parameter response_type=token in the authorize endpoint.

...

app.example.com/callback#access_token=EACCESS_TOKEN&expires_in=86400&token_type=bearer

...

Get by User credentials

Send the user credentials directly to receive an access token

...

URI Parameters: email, password

...

Get by Client credentials

Example using HTTP Basic Authentication:

...