Answer a ``pin_required`` frame with the entered connection PIN.
(self, challenge_id: str, pin: str)
| 197 | yield _frame_from_envelope(item) |
| 198 | |
| 199 | async def pin(self, challenge_id: str, pin: str) -> None: |
| 200 | """Answer a ``pin_required`` frame with the entered connection PIN.""" |
| 201 | await self._t.write_answer( |
| 202 | pb.Envelope( |
| 203 | id=self._require_id(), |
| 204 | kind=pb.Envelope.KIND_ANSWER, |
| 205 | pin_answer=m_pb.PinAnswer(challenge_id=challenge_id, pin=pin), |
| 206 | ) |
| 207 | ) |
| 208 | |
| 209 | async def confirm(self, token: str, accept: bool) -> None: |
| 210 | """Answer a ``confirm_required`` frame. ``accept=True`` resumes the |