//identityserver.haapi.android.sdk/se.curity.identityserver.haapi.android.sdk.okhttp

Package se.curity.identityserver.haapi.android.sdk.okhttp

android jvm

This package contains functions and types to configure an OkHttpClient so that it can access HAAPI resources, including access token management and flow session state management.

When using functions or types in this package, then the OkHttp dependency needs to be explicitly added to the build configuration. Example:


implementation("com.squareup.okhttp3:okhttp:3.14.9")

The SDK doesn't include OkHttp as a transitive dependency.

Types

Name Summary
OkHttpHaapiInterceptor
android jvm


Content
class OkHttpHaapiInterceptor(haapiTokenManager: HaapiTokenManager, originPredicate: UriPredicate) : Interceptor

more info


OkHttp interceptor that automatically adds a DPoP-bound access token and proof token, provided by a HaapiTokenManager, to an out-going request.


| OkHttpUtils|
android jvm


Content
object OkHttpUtils

more info


Helper for OkHttpClient configuration.