bind

fun bind(builder: OkHttpClient.Builder): OkHttpClient.Builder

Bind this user to an OkHttpClient to automatically inject the user tokens for authorization.

This will add an interceptor and override any authenticators already defined.

Return

An OkHttpClient.Builder to which the authenticator and interceptor are attached

Parameters

builder

instance of the OkHttpClient.Builder to update