symphony.bdk.core.retry.strategy.refresh_session_if_unauthorized#

async symphony.bdk.core.retry.strategy.refresh_session_if_unauthorized(retry_state: tenacity.RetryCallState)#

Refreshing AuthSession tokens retry strategy

Retry if the raised exception verifies the is_network_or_minor_error predicate If this exception is a 401 unauthorized error, we refresh the current AuthSession tokens