org.kohsuke.github
Class GHAuthorization

java.lang.Object
  extended by org.kohsuke.github.GHAuthorization

public class GHAuthorization
extends Object

Generated OAuth token

Author:
janinko
See Also:
GitHub.createToken(Collection, String, String), http://developer.github.com/v3/oauth/#create-a-new-authorization

Field Summary
static String DELETE_REPO
           
static String GIST
           
static String NOTIFICATIONS
           
static String PUBLIC_REPO
           
static String REPO
           
static String REPO_STATUS
           
static String USER
           
static String USER_EMAIL
           
static String USER_FOLLOW
           
 
Constructor Summary
GHAuthorization()
           
 
Method Summary
 URL getApiURL()
           
 String getAppName()
           
 URL getAppUrl()
           
 Date getCreatedAt()
           
 int getId()
           
 String getNote()
           
 URL getNoteUrl()
           
 GitHub getRoot()
           
 List<String> getScopes()
           
 String getToken()
           
 Date getUpdatedAt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER

public static final String USER
See Also:
Constant Field Values

USER_EMAIL

public static final String USER_EMAIL
See Also:
Constant Field Values

USER_FOLLOW

public static final String USER_FOLLOW
See Also:
Constant Field Values

PUBLIC_REPO

public static final String PUBLIC_REPO
See Also:
Constant Field Values

REPO

public static final String REPO
See Also:
Constant Field Values

REPO_STATUS

public static final String REPO_STATUS
See Also:
Constant Field Values

DELETE_REPO

public static final String DELETE_REPO
See Also:
Constant Field Values

NOTIFICATIONS

public static final String NOTIFICATIONS
See Also:
Constant Field Values

GIST

public static final String GIST
See Also:
Constant Field Values
Constructor Detail

GHAuthorization

public GHAuthorization()
Method Detail

getRoot

public GitHub getRoot()

getId

public int getId()

getScopes

public List<String> getScopes()

getToken

public String getToken()

getAppUrl

public URL getAppUrl()

getAppName

public String getAppName()

getApiURL

public URL getApiURL()

getNote

public String getNote()

getNoteUrl

public URL getNoteUrl()

getCreatedAt

public Date getCreatedAt()

getUpdatedAt

public Date getUpdatedAt()


Copyright © 2013. All rights reserved.