You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/v3/oauth_authorizations.md
+9-18Lines changed: 9 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,16 @@ Make sure you understand how to [work with two-factor authentication](/v3/auth/#
28
28
</ul>
29
29
30
30
<p>
31
-
We're currently offering a migration period allowing applications to opt in to the new Authorization API behavior. This functionality will apply to all API consumers beginning April 20, 2015. Please see <a href="/changes/2015-02-20-migration-period-removing-authorizations-token/">the blog post</a> for full details.
32
-
</p>
33
-
34
-
<p>
35
-
In order to reduce the impact of removing the <code>token</code> attribute,
36
-
the OAuth Authorizations API has added a new request attribute
37
-
(<code>fingerprint</code>), added three new response attributes
31
+
To reduce the impact of removing the <code>token</code> value,
32
+
the OAuth Authorizations API now includes a new request attribute
33
+
(<code>fingerprint</code>), three new response attributes
38
34
(<code>token_last_eight</code>, <code>hashed_token</code>, and
This functionality became the default for all requests on April 20, 2015. Please see <a href="/changes/2015-04-20-authorizations-api-response-changes-are-now-in-effect/">the blog post</a> for full details.
48
41
</p>
49
42
</div>
50
43
@@ -87,7 +80,7 @@ Name | Type | Description
87
80
`note_url`|`string` | A URL to remind you what app the OAuth token is for.
88
81
`client_id`|`string` | The 20 character OAuth app client key for which to create the token.
89
82
`client_secret`|`string` | The 40 character OAuth app client secret for which to create the token.
90
-
`fingerprint`|`string` |**This attribute is only available when using the[mirage-preview](#deprecation-notice) media type.**A unique string to distinguish an authorization from others created for the same client ID and user.
83
+
`fingerprint`|`string` | A unique string to distinguish an authorization from others created for the same client ID and user.
`scopes`|`array` | A list of scopes that this authorization is in.
116
109
`note`|`string` | A note to remind you what the OAuth token is for.
117
110
`note_url`|`string` | A URL to remind you what app the OAuth token is for.
118
-
`fingerprint`|`string` |**This attribute is only available when using the[mirage-preview](#deprecation-notice) media type.**A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to[Get-or-create an authorization for a specific app and fingerprint](/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint).
111
+
`fingerprint`|`string` | A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to[Get-or-create an authorization for a specific app and fingerprint](/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint).
##Get-or-create an authorization for a specific app and fingerprint
134
127
135
-
**This API method is only available when using the
136
-
[mirage-preview](#deprecation-notice) media type.**
137
128
This method will create a new authorization for the specified OAuth application,
138
129
only if an authorization for that application and fingerprint do not already
139
130
exist for the user. The URL includes the 20 character client ID for the OAuth
@@ -179,7 +170,7 @@ Name | Type | Description
179
170
`remove_scopes`|`array` | A list of scopes to remove from this authorization.
180
171
`note`|`string` | A note to remind you what the OAuth token is for.
181
172
`note_url`|`string` | A URL to remind you what app the OAuth token is for.
182
-
`fingerprint`|`string` |**This attribute is only available when using the[mirage-preview](#deprecation-notice) media type.**A unique string to distinguish an authorization from others created for the same client ID and user.
173
+
`fingerprint`|`string` | A unique string to distinguish an authorization from others created for the same client ID and user.
183
174
184
175
185
176
You can only send one of these scope keys at a time.