Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitd4c875f

Browse files
committed
Merge pull request#476 from github/update-1396973742
Sync changes from upstream repository
2 parents03d71ef +0218231 commitd4c875f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎content/v3/oauth_authorizations.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,22 @@ will return `404 NOT FOUND`.
144144
<%= headers 200 %>
145145
<%= json(:oauth_access_with_user) %>
146146

147+
##Reset an authorization
148+
149+
OAuth applications can use this API method to reset a valid OAuth token without
150+
end user involvement. Applications must save the "token" property in the
151+
response, because changes take effect immediately. You must use
152+
[Basic Authentication](/v3/auth#basic-authentication) when accessing it, where
153+
the username is the OAuth application`client_id` and the password is its
154+
`client_secret`. Invalid tokens will return`404 NOT FOUND`.
155+
156+
POST /applications/:client_id/tokens/:access_token
157+
158+
###Response
159+
160+
<%= headers 200 %>
161+
<%= json(:oauth_access_with_user) %>
162+
147163
##Revoke all authorizations for an application
148164

149165
OAuth application owners can revoke every token for an OAuth application. You

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp