Interface ExpiringJWKCredential

All Superinterfaces:
Credential, JWKCredential
All Known Implementing Classes:
BasicExpiringJWKCredential

public interface ExpiringJWKCredential extends JWKCredential
A credential that 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 Details

    • 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