Package-level declarations
Types
Represents the exception encountered when calling an API because the admin locks the network traffic or the registration of the user.
Facilitates keeping a global reference to a Networking Client that has been initialized with all the necessary Authentication and other interceptors. Generally the application developer will set the initialized okHttpClient once and get it from any where a okHttpClient is needed for the server communication. The set must be called at least once.
Represents the service to retrieve AppConfig from discovery service, it will try to call API without application version information, if failed, then try with version.
Represents the exception used for all services.
Functions
Creates a new instance of OkHttpClient after adding the given interceptor, and saves it into ClientProvider if save is true.
Creates a new instance of OkHttpClient after adding the given network interceptor, and saves it into ClientProvider if save is true.
Checks whether the current 'Exception' is caused by Android Attestation. This is usually being used to check the exception thrown from interceptors to see the real cause.
Checks whether the current 'Exception' is caused by OAuth token expiration. This may usually be used in widget request calls when the widget wants to know the exact reason the request failure thus show meaningful messages on the UI.
Creates a 'silent' call when refresh token expires or SAML session expires, automatic re-authentication process will not be started.
Removes duplicate interceptors and network interceptors and save the result back to ClientProvider if save is true.
Removes the interceptor identified by the type of the given interceptor from the current OkHttpClient, and save the result back to ClientProvider if save is true.
Removes the interceptor of the given type interceptorClazz, and save it back to ClientProvider if save is true.