Skip to content

Instantly share code, notes, and snippets.

@CharlyJazz
Created December 29, 2017 22:56
Show Gist options
  • Save CharlyJazz/64883d76e7c65676105790baf858e56f to your computer and use it in GitHub Desktop.
Save CharlyJazz/64883d76e7c65676105790baf858e56f to your computer and use it in GitHub Desktop.
token response
4. Example Access Token Response
Typically, a bearer token is returned to the client as part of an
OAuth 2.0 [RFC6749] access token response. An example of such a
response is:
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Cache-Control: no-store
Pragma: no-cache
{
"access_token":"mF_9.B5f-4.1JqM",
"token_type":"Bearer",
"expires_in":3600,
"refresh_token":"tGzv3JOkF0XG5Qx2TlKWIA"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment