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.

Commitad30a58

Browse files
committed
Merge pull request#706 from github/update-1422981043
2 parents21d5502 +e33f812 commitad30a58

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
kind:change
3+
title:Removing token attribute from Authorizations API responses (Update)
4+
created_at:2015-02-03
5+
author_name:ptoomey3
6+
---
7+
8+
In December, we[released a preview][removing-authorizations-token] of several API changes related to managing OAuth application authorizations. As part of those changes we introduced several new response attributes (`token_last_eight`,`hashed_token`, and`fingerprint`) to the Authorizations API. We have decided to modify`hashed_token` to return the SHA-256 hex digest of the associated token instead of Base64. Given that Base64 has several common variants (original, URL safe, etc) we decided that returning the value as hex is less ambiguous and will be more useful for developers.
9+
10+
###Extended preview period
11+
12+
Because of the change to`hashed_token`, we are extending the preview period by two weeks. If no additional changes are made during this extended preview period we will announce the end of the preview and beginning of the eight week migration period on February 17. The migration period will allow applications to opt in to these changes before they become an official part of the GitHub API v3.
13+
14+
If you have any questions or feedback, please[drop us a line][contact]!
15+
16+
[removing-authorizations-token]:/changes/2014-12-08-removing-authorizations-token/
17+
[contact]:https://github.com/contact?form[subject]=Removing+authorizations+token

‎content/guides/best-practices-for-integrators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ There are three steps you can take to secure receipt of payloads delivered by Gi
2323

2424
GitHub expects that integrations respond within thirty seconds of receiving the webhook payload. If your service takes longer than that to complete, then GitHub terminates the connection and the payload is lost.
2525

26-
Since it's impossible to predict how fast your service will complete, you should do all of "the real work" in a background job.[Resque](http://resquework.org/) (for Ruby),[RQ](http://python-rq.org/) (for Python), or[RabbitMQ](http://www.rabbitmq.com/) (for Java) are examples of libraries that can handle queuing and processing of background jobs.
26+
Since it's impossible to predict how fast your service will complete, you should do all of "the real work" in a background job.[Resque](https://github.com/resque/resque/) (for Ruby),[RQ](http://python-rq.org/) (for Python), or[RabbitMQ](http://www.rabbitmq.com/) (for Java) are examples of libraries that can handle queuing and processing of background jobs.
2727

2828
Note that even with a background job running, GitHub still expects your server to respond within thirty seconds. Your server simply needs to acknowledge that it received the payload by sending some sort of response. It's critical that your service to performs any validations on a payload as soon as possible, so that you can accurately report whether your server will continue with the request or not.
2929

‎content/v3/users/administration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can demote any user account except your own.
3939

4040
{{#warning}}
4141

42-
If your GitHub Enterprise appliance has[LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a`403` response. Users managed by an external account cannot be suspended via the API.
42+
If your GitHub Enterprise appliance has[LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/2.1/admin/guides/user-management/using-ldap), this API is disabled and will return a`403` response. Users managed by an external account cannot be suspended via the API.
4343

4444
{{/warning}}
4545

@@ -57,7 +57,7 @@ You can suspend any user account except your own.
5757

5858
{{#warning}}
5959

60-
If your GitHub Enterprise appliance has[LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/admin/guides/user-management/using-ldap), this API is disabled and will return a`403` response. Users managed by an external account cannot be unsuspended via the API.
60+
If your GitHub Enterprise appliance has[LDAP Sync with Active Directory LDAP servers](https://help.github.com/enterprise/2.1/admin/guides/user-management/using-ldap), this API is disabled and will return a`403` response. Users managed by an external account cannot be unsuspended via the API.
6161

6262
{{/warning}}
6363

‎content/v3/users/emails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This endpoint is accessible with the user:email scope.
2727

2828
{{#warning}}
2929

30-
If your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize emails enabled, this API is disabled and will return a`403` response. Users managed in LDAP won't be able to add an email address via the API with these options enabled.
30+
If your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/2.1/admin/guides/user-management/using-ldap) and the option to synchronize emails enabled, this API is disabled and will return a`403` response. Users managed in LDAP won't be able to add an email address via the API with these options enabled.
3131

3232
{{/warning}}
3333

@@ -63,7 +63,7 @@ You can post a single email address or an array of addresses:
6363

6464
{{#warning}}
6565

66-
If your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap) and the option to synchronize emails enabled, this API is disabled and will return a`403` response. Users managed in LDAP won't be able to remove an email address via the API with these options enabled.
66+
If your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/2.1/admin/guides/user-management/using-ldap) and the option to synchronize emails enabled, this API is disabled and will return a`403` response. Users managed in LDAP won't be able to remove an email address via the API with these options enabled.
6767

6868
{{/warning}}
6969

‎lib/resources.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ def fetch_content(key)
16111611
"scopes"=>["public_repo"],
16121612
"token"=>"abcdefgh12345678",
16131613
"token_last_eight"=>"12345678",
1614-
"hashed_token"=>"JflKKlx/uvSZxmW8c9Z8HIfkltqJhRMWM+4KlYGdsug=",
1614+
"hashed_token"=>"25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8",
16151615
"app"=>{
16161616
"url"=>"http://my-github-app.com",
16171617
"name"=>"my github app",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp