Interface ExpiringJWKCredential
-
- All Superinterfaces:
Credential,JWKCredential
- All Known Implementing Classes:
BasicExpiringJWKCredential
public interface ExpiringJWKCredential extends JWKCredential
Acredentialthat expires at some duration in seconds after 1970-01-01T0:0:0Z. A value of 0 seconds represents a credential that does not expire.- Since:
- 2.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DurationgetCredentialExpiresAt()Time at which the client_secret will expire or 0 if it will not expire.-
Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
Methods inherited from interface net.shibboleth.oidc.security.credential.JWKCredential
getAlgorithm, getKid
-
-
-
-
Method Detail
-
getCredentialExpiresAt
@Nullable Duration getCredentialExpiresAt()
Time at which the client_secret will expire or 0 if it will not expire. Its value represents the number of seconds from 1970-01-01T0:0:0Z.- Returns:
- the expiry duration
-
-