Method
__init__
(
self,
start_url,
sso_region,
role_name,
account_id,
client_creator,
token_loader=None,
cache=None,
expiry_window_seconds=None,
token_provider=None,
sso_session_name=None,
time_fetcher=_local_now,
)
Source from the content-addressed store, hash-verified
| 2247 | _UTC_DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' |
| 2248 | |
| 2249 | def __init__( |
| 2250 | self, |
| 2251 | start_url, |
| 2252 | sso_region, |
| 2253 | role_name, |
| 2254 | account_id, |
| 2255 | client_creator, |
| 2256 | token_loader=None, |
| 2257 | cache=None, |
| 2258 | expiry_window_seconds=None, |
| 2259 | token_provider=None, |
| 2260 | sso_session_name=None, |
| 2261 | time_fetcher=_local_now, |
| 2262 | ): |
| 2263 | self._client_creator = client_creator |
| 2264 | self._sso_region = sso_region |
| 2265 | self._role_name = role_name |
| 2266 | self._account_id = account_id |
| 2267 | self._start_url = start_url |
| 2268 | self._token_loader = token_loader |
| 2269 | self._token_provider = token_provider |
| 2270 | self._sso_session_name = sso_session_name |
| 2271 | self._time_fetcher = time_fetcher |
| 2272 | super().__init__(cache, expiry_window_seconds) |
| 2273 | |
| 2274 | def _create_cache_key(self): |
| 2275 | """Create a predictable cache key for the current configuration. |
Callers
nothing calls this directly
Tested by
no test coverage detected