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

OkHttpHaapiInterceptor

android jvm

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

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

Constructors

Name Summary
OkHttpHaapiInterceptor
android jvm

fun OkHttpHaapiInterceptor(haapiTokenManager: HaapiTokenManager, originPredicate: UriPredicate)

Functions

Name Summary
clearSessionIdentifier
android jvm


Content
fun clearSessionIdentifier()

more info


Clears the internally stored session identifier.


| equals|
android jvm


Content
open operator fun equals(other: Any?): Boolean


| hashCode|

android jvm


Content
open fun hashCode(): Int


| intercept|

android jvm


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

more info


Intercepts an outgoing requests and adds both the DPoP access and proof tokens.


| toString|
android jvm


Content
open fun toString(): String