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.

Commit37c56fe

Browse files
committed
Merge pull request#694 from github/update-1421701869
2 parents459cd10 +2db83f7 commit37c56fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎content/guides/discovering-resources-for-a-user.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you haven't already, you should read the ["Basics of Authentication"][basics-
1919

2020
In addition to having their own personal repositories, a user may be a collaborator on repositories owned by other users and organizations. Collectively, these are the repositories where the user has privileged access: either it's a private repository where the user has read or write access, or it's a public repository where the user has write access.
2121

22-
[OAuth scopes][scopes] determine which of those repositories your app can access for a user. Use the workflow below to discover those repositories.
22+
[OAuth scopes][scopes]and[organization application policies][oap]determine which of those repositories your app can access for a user. Use the workflow below to discover those repositories.
2323

2424
As always, first we'll require[GitHub's Octokit.rb][octokit.rb] Ruby library. Then we'll configure Octokit.rb to automatically handle[pagination][pagination] for us.
2525

@@ -98,6 +98,7 @@ As an application, you typically want all of the user's organizations (public an
9898
[list-orgs-for-current-user]:/v3/orgs/#list-your-organizations
9999
[list-teams]:/v3/orgs/teams/#list-teams
100100
[make-authenticated-request-for-user]:/guides/basics-of-authentication/#making-authenticated-requests
101+
[oap]:/changes/2015-01-19-an-integrators-guide-to-organization-application-policies/
101102
[octokit.rb]:https://github.com/octokit/octokit.rb
102103
[pagination]:/v3/#pagination
103104
[platform samples]:https://github.com/github/platform-samples/tree/master/api/ruby/discovering-resources-for-a-user

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp