Interface FalconClientIdAndToken
- All Superinterfaces:
com.cloudbees.plugins.credentials.Credentials,Describable<com.cloudbees.plugins.credentials.Credentials>,ExtensionPoint,com.cloudbees.plugins.credentials.common.IdCredentials,com.cloudbees.plugins.credentials.common.PasswordCredentials,Serializable,com.cloudbees.plugins.credentials.common.StandardCredentials,com.cloudbees.plugins.credentials.common.StandardUsernameCredentials,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials,com.cloudbees.plugins.credentials.common.UsernameCredentials,com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials
- All Known Implementing Classes:
CredentialsDefault
public interface FalconClientIdAndToken
extends com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetClientID(FalconContext context, String FalconCredentialId) static FalconClientIdAndTokengetCredentialsById(FalconContext context, String FalconCredentialId) static StringgetSecret(FalconContext context, String FalconCredentialId) Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
getDescriptor, getScopeMethods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getIdMethods inherited from interface com.cloudbees.plugins.credentials.common.PasswordCredentials
getPasswordMethods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescriptionMethods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials
getUsername, isUsernameSecret
-
Method Details
-
getSecret
- Throws:
IOExceptionInterruptedException
-
getClientID
-
getSecret
static String getSecret(FalconContext context, String FalconCredentialId) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getClientID
- Throws:
IOException
-
getCredentialsById
static FalconClientIdAndToken getCredentialsById(FalconContext context, String FalconCredentialId) throws IOException - Throws:
IOException
-