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
  • Constructor Details

    • GitHubOAuthScope

      public GitHubOAuthScope()
  • Method Details

    • getScopesToRequest

      public abstract Collection<String> getScopesToRequest()
      Returns a collection of scopes to request. See http://developer.github.com/v3/oauth/ for valid scopes