Exemple #1
0
 async def call(self):
     if self._has_been_called:
         # We can explore an option in the future to support
         # reprompting for MFA, but for now we just error out
         # when the temp creds expire.
         raise RefreshWithMFAUnsupportedError()
     self._has_been_called = True
     return await self._refresh()
 def _refresher():
     # We can explore an option in the future to support
     # reprompting for MFA, but for now we just error out
     # when the temp creds expire.
     raise RefreshWithMFAUnsupportedError()