code: func WithExpirationProvider(expirationProvider ExpirationProvider, expiryType ExpirationType) options.Opt {
  	return func(p options.Params) {
  		logger.Debug("Checking expirationProviderSetter")
  		if setter, ok := p.(expirationProviderSetter); ok {
  			setter.SetExpirationProvider(expirationProvider, expiryType)
  		}
  	}
  }
docs: // WithExpirationProvider sets the expiration provider, which determines
  // the expiration time of the reference