expiresSoon
fun expiresSoon(nowMs: Long = System.currentTimeMillis(), slackMs: Long = 5 * 60_000L): Boolean(source)
True when the access token is expired or about to be (default 5 minutes of slack).
True when the access token is expired or about to be (default 5 minutes of slack).