Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
revert(service-tokens): Revert "docs(service-clients): Document Servi…
Browse files Browse the repository at this point in the history
…ce Clients, JKUs, and JWTs"

This reverts commit 799f0e2.
  • Loading branch information
rfk committed Oct 28, 2015
1 parent e815527 commit 6be9ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 103 deletions.
14 changes: 3 additions & 11 deletions docs/api.md
Expand Up @@ -368,26 +368,20 @@ particular user.

#### Request Parameters

- `client_id`: The id returned from client registration.
- `client_secret`: The secret returned from client registration.
- `ttl`: (optional) Seconds that this access_token should be valid.

The default and maximum value is 2 weeks.
- `grant_type`: Either `authorization_code`, `refresh_token`, or `urn:ietf:params:oauth:grant-type:jwt-bearer`.
- `grant_type`: Either the string `authorization_code` or `refresh_token`.
- If `authorization_code`:
- `client_id`: The id returned from client registration.
- `client_secret`: The secret returned from client registration.
- `code`: A string that was received from the [authorization][] endpoint.
- If `refresh_token`:
- `client_id`: The id returned from client registration.
- `client_secret`: The secret returned from client registration.
- `refresh_token`: A string that received from the [token][]
endpoint specifically as a refresh token.
- `scope`: (optional) A subset of scopes provided to this
refresh_token originally, to receive an access_token with less
permissions.
- If `urn:ietf:params:oauth:grant-type:jwt-bearer`:
- `assertion`: A signed JWT assertion. See [Service
Clients][] for more.


**Example:**

Expand Down Expand Up @@ -507,5 +501,3 @@ A valid request will return JSON with these properties:
[delete]: #post-v1destroy
[verify]: #post-v1verify
[developer-activate]: #post-v1developeractivate

[Service Clients]: ./service-clients.md
92 changes: 0 additions & 92 deletions docs/service-clients.md

This file was deleted.

0 comments on commit 6be9ac2

Please sign in to comment.