oauth2

fun oauth2(username: String, accessToken: suspend () -> String)(source)

Authenticate with an OAuth 2.0 access token, fetched for every new connection.