java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHAuthorization
Generated OAuth token.
- Author:
- janinko
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The Constant ADMIN_KEY.static final String
The Constant ADMIN_ORG.static final String
The Constant AMIN_HOOK.static final String
The Constant DELETE_REPO.static final String
The Constant GIST.static final String
The Constant NOTIFICATIONS.static final String
The Constant PUBLIC_REPO.static final String
The Constant READ_HOOK.static final String
The Constant READ_KEY.static final String
The Constant READ_ORG.static final String
The Constant REPO.static final String
The Constant REPO_STATUS.static final String
The Constant USER.static final String
The Constant USER_EMAIL.static final String
The Constant USER_FOLLOW.static final String
The Constant WRITE_HOOK.static final String
The Constant WRITE_KEY.static final String
The Constant WRITE_ORG.Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Field Details
-
USER
The Constant USER.- See Also:
-
USER_EMAIL
The Constant USER_EMAIL.- See Also:
-
USER_FOLLOW
The Constant USER_FOLLOW.- See Also:
-
PUBLIC_REPO
The Constant PUBLIC_REPO.- See Also:
-
REPO
The Constant REPO.- See Also:
-
REPO_STATUS
The Constant REPO_STATUS.- See Also:
-
DELETE_REPO
The Constant DELETE_REPO.- See Also:
-
NOTIFICATIONS
The Constant NOTIFICATIONS.- See Also:
-
GIST
The Constant GIST.- See Also:
-
READ_HOOK
The Constant READ_HOOK.- See Also:
-
WRITE_HOOK
The Constant WRITE_HOOK.- See Also:
-
AMIN_HOOK
The Constant AMIN_HOOK.- See Also:
-
READ_ORG
The Constant READ_ORG.- See Also:
-
WRITE_ORG
The Constant WRITE_ORG.- See Also:
-
ADMIN_ORG
The Constant ADMIN_ORG.- See Also:
-
READ_KEY
The Constant READ_KEY.- See Also:
-
WRITE_KEY
The Constant WRITE_KEY.- See Also:
-
ADMIN_KEY
The Constant ADMIN_KEY.- See Also:
-
-
Constructor Details
-
GHAuthorization
public GHAuthorization()Create default GHAuthorization instance
-
-
Method Details
-
getScopes
Gets scopes.- Returns:
- the scopes
-
getToken
Gets token.- Returns:
- the token
-
getTokenLastEight
Gets token last eight.- Returns:
- the token last eight
-
getHashedToken
Gets hashed token.- Returns:
- the hashed token
-
getAppUrl
Gets app url.- Returns:
- the app url
-
getAppName
Gets app name.- Returns:
- the app name
-
getNote
Gets note.- Returns:
- the note
-
getNoteUrl
Gets note url.- Returns:
- the note url
-
getFingerprint
Gets fingerprint.- Returns:
- the fingerprint
-