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/guides/discovering-resources-for-a-user.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ If you haven't already, you should read the ["Basics of Authentication"][basics-
19
19
20
20
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.
21
21
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.
23
23
24
24
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.
25
25
@@ -98,6 +98,7 @@ As an application, you typically want all of the user's organizations (public an