Package org.jenkinsci.plugins
Class GitHubOAuthScope
- java.lang.Object
-
- org.jenkinsci.plugins.GitHubOAuthScope
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class GitHubOAuthScope extends Object implements ExtensionPoint
Extension point to be implemented by plugins to request additional scopes.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubOAuthScope()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<String>
getScopesToRequest()
Returns a collection of scopes to request.
-
-
-
Method Detail
-
getScopesToRequest
public abstract Collection<String> getScopesToRequest()
Returns a collection of scopes to request. See http://developer.github.com/v3/oauth/ for valid scopes
-
-