Class ServiceAccountConfig

java.lang.Object
com.google.jenkins.plugins.credentials.oauth.ServiceAccountConfig
All Implemented Interfaces:
Describable<ServiceAccountConfig>, Serializable
Direct Known Subclasses:
JsonServiceAccountConfig, P12ServiceAccountConfig

public abstract class ServiceAccountConfig extends Object implements Describable<ServiceAccountConfig>, Serializable
general abstraction for providing google service account authentication mechanism. subclasses need to provide an accountId and a private key to use for authenticating a service account
See Also:
  • Constructor Details

    • ServiceAccountConfig

      public ServiceAccountConfig()
  • Method Details

    • getAccountId

      public abstract String getAccountId()
    • getPrivateKey

      public abstract PrivateKey getPrivateKey()
    • getSecretBytesFromFile

      @Deprecated @CheckForNull protected com.cloudbees.plugins.credentials.SecretBytes getSecretBytesFromFile(@CheckForNull String filePath)
      Deprecated.