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.

Commitebdc622

Browse files
committed
Merge pull request#472 from github/authorizations-token-deprecation-preview-extension
Extend token deprecation preview period by two weeks
2 parentsf284576 +2a14c09 commitebdc622

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
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

‎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