Package io.jenkins.plugins.oidc_provider
Class IdTokenCredentials
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
io.jenkins.plugins.oidc_provider.IdTokenCredentials
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,ExtensionPoint
,Describable<com.cloudbees.plugins.credentials.Credentials>
,Serializable
- Direct Known Subclasses:
IdTokenFileCredentials
,IdTokenStringCredentials
public abstract class IdTokenCredentials
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
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
Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials
com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider
-
Field Summary
Modifier and TypeFieldDescriptionClaims that must not be defined by user claim templates, because they have special meanings. -
Constructor Summary
ModifierConstructorDescriptionprotected
IdTokenCredentials
(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description) protected
IdTokenCredentials
(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, KeyPair kp, Secret privateKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IdTokenCredentials
protected Issuer
final com.cloudbees.plugins.credentials.Credentials
final String
final String
protected Object
final void
setAudience
(String audience) final void
protected final String
token()
Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
equals, getDescription, getId, hashCode
Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials
getDescriptor, getScope
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.plugins.credentials.Credentials
getDescriptor, getScope
-
Field Details
-
STANDARD_CLAIMS
Claims that must not be defined by user claim templates, because they have special meanings.sub
is treated specially: it must be defined by a claim template.- See Also:
-
-
Constructor Details
-
IdTokenCredentials
-
IdTokenCredentials
-
-
Method Details
-
readResolve
- Throws:
Exception
-
getIssuer
-
setIssuer
-
getAudience
-
setAudience
-
clone
-
forRun
-
token
-
findIssuer
-