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 Modifier and Type Interface Description static class
FalconClientIdAndToken.NameProvider
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getClientID()
static String
getClientID(FalconContext context, String FalconCredentialId)
static FalconClientIdAndToken
getCredentialsById(FalconContext context, String FalconCredentialId)
Secret
getSecret()
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.PasswordCredentials
getPassword
-
-
-
-
Method Detail
-
getSecret
@NonNull Secret getSecret() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getClientID
@NonNull String getClientID()
-
getSecret
static String getSecret(FalconContext context, String FalconCredentialId) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getClientID
static String getClientID(FalconContext context, String FalconCredentialId) throws IOException
- Throws:
IOException
-
getCredentialsById
static FalconClientIdAndToken getCredentialsById(FalconContext context, String FalconCredentialId) throws IOException
- Throws:
IOException
-
-