close

fun close()

Cancels the internal coroutine scope used to coalesce refreshes. Call when the provider is discarded (e.g. on sign-out): any in-flight refresh is cancelled, and it and every subsequent refreshAuthorizationIfNeeded report false, so requests fail with NetworkError.AuthorizationRefreshFailed instead of refreshing.