Class AuthenticationInterceptor

  • All Implemented Interfaces:
    com.squareup.okhttp.Interceptor

    public class AuthenticationInterceptor
    extends Object
    implements com.squareup.okhttp.Interceptor
    Authenticates the requests using the configured Authentication strategy.
    Author:
    Ignasi Barrera, Sergi Castro
    • Constructor Detail

    • Method Detail

      • intercept

        public com.squareup.okhttp.Response intercept​(com.squareup.okhttp.Interceptor.Chain chain)
                                               throws IOException
        Specified by:
        intercept in interface com.squareup.okhttp.Interceptor
        Throws:
        IOException