Class GHAuthorization

java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHAuthorization

public class GHAuthorization extends GHObject
Generated OAuth token.
Author:
janinko
See Also:
  • Field Details

  • Constructor Details

    • GHAuthorization

      public GHAuthorization()
      Create default GHAuthorization instance
  • Method Details

    • getScopes

      public List<String> getScopes()
      Gets scopes.
      Returns:
      the scopes
    • getToken

      public String getToken()
      Gets token.
      Returns:
      the token
    • getTokenLastEight

      public String getTokenLastEight()
      Gets token last eight.
      Returns:
      the token last eight
    • getHashedToken

      public String getHashedToken()
      Gets hashed token.
      Returns:
      the hashed token
    • getAppUrl

      public URL getAppUrl()
      Gets app url.
      Returns:
      the app url
    • getAppName

      public String getAppName()
      Gets app name.
      Returns:
      the app name
    • getNote

      public String getNote()
      Gets note.
      Returns:
      the note
    • getNoteUrl

      public URL getNoteUrl()
      Gets note url.
      Returns:
      the note url
    • getFingerprint

      public String getFingerprint()
      Gets fingerprint.
      Returns:
      the fingerprint