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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceAccountConfig.Descriptor
abstract descriptor for service account authentication
-
Constructor Summary
Constructors Constructor Description ServiceAccountConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract String
getAccountId()
abstract PrivateKey
getPrivateKey()
protected com.cloudbees.plugins.credentials.SecretBytes
getSecretBytesFromFile(String filePath)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Describable
getDescriptor
-
-
-
-
Method Detail
-
getAccountId
public abstract String getAccountId()
-
getPrivateKey
public abstract PrivateKey getPrivateKey()
-
getSecretBytesFromFile
@Deprecated @CheckForNull protected com.cloudbees.plugins.credentials.SecretBytes getSecretBytesFromFile(@CheckForNull String filePath)
Deprecated.
-
-