pub fn until_credential_expires(
items: Pin<Box<dyn Stream<Item = Result<Value, CratestackError>> + Send>>,
expires_at: Option<i64>,
) -> Pin<Box<dyn Stream<Item = Result<Value, CratestackError>> + Send>>Expand description
items, ended with unauthenticated at expires_at (seconds since the
epoch, the exp claim). Already expired: the first item is that error.