Class DefaultZendeskUnauthorizedInterceptor



  • public class DefaultZendeskUnauthorizedInterceptor
    extends java.lang.Object
    This is the default 401 error Interceptor that will be used when configuring a okhttp3.OkHttpClient Created by Zendesk on 21/03/2016.
    • Constructor Detail

      • DefaultZendeskUnauthorizedInterceptor

        public DefaultZendeskUnauthorizedInterceptor(SdkStorage sdkStorage,
                                                     Cache cache)
    • Method Detail

      • intercept

        public Response intercept(Chain chain)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • onHttpUnauthorized

        public void onHttpUnauthorized()