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 classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getClientID
(FalconContext context, String FalconCredentialId) static FalconClientIdAndToken
getCredentialsById
(FalconContext context, String FalconCredentialId) static String
getSecret
(FalconContext context, String FalconCredentialId) Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
getDescriptor, getScope
Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials
getId
Methods inherited from interface com.cloudbees.plugins.credentials.common.PasswordCredentials
getPassword
Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
getDescription
Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials
getUsername, isUsernameSecret
-
Method Details
-
getSecret
- Throws:
IOException
InterruptedException
-
getClientID
-
getSecret
static String getSecret(FalconContext context, String FalconCredentialId) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getClientID
- Throws:
IOException
-
getCredentialsById
static FalconClientIdAndToken getCredentialsById(FalconContext context, String FalconCredentialId) throws IOException - Throws:
IOException
-