···112112 return config.PrivateKey != nil && config.KeyID != nil
113113}
114114115115+// Set the secret key used for client assertions (for confidential clients).
116116+//
117117+// The corresponding public key (with matching key ID) must be present in the JWK list referenced by the client metadata document.
118118+//
119119+// Key IDs may be arbitrary strings such as UUIDs, stringified sequence numbers, or human-readable identifiers.
115120func (config *ClientConfig) SetClientSecret(priv atcrypto.PrivateKey, keyID string) error {
116121 switch priv.(type) {
117122 case *atcrypto.PrivateKeyP256: