authenticate
suspend fun HttpClient.authenticate(url: String = REFRESH_TOKEN_URL, additionalRequestBuilder: HttpRequestBuilder.() -> Unit = { }): TokenInfo
Return
Parameters
url
auth url, REFRESH_TOKEN_URL by default
additional Request Builder
additional HttpRequestBuilder lambda
Throws
Client Request Exception
on failed authorization