intercept

open override fun intercept(chain: Interceptor.Chain): Response

Intercepts the request and adds the Bearer Token header.

Return

The response after adding the authorization header.

Parameters

chain

The interceptor chain.

Throws

If an I/O error occurs.