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

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

android jvm

This package contains classes for HAAPI access token management.

Types

Name Summary
DPoPAccessAndProofTokens
android jvm


Content

data class

DPoPAccessAndProofTokens(accessTokenString: String, proofTokenString: String)

more info


Represents the DPoP-bound access token and proof token to be used on an HTTP request.


| HaapiException|
android jvm


Content
sealed class HaapiException : RuntimeException

more info


Base class for the specific HAAPI exceptions


| HaapiTokenManager|
android jvm


Content
class HaapiTokenManager(config: HaapiTokenManager.Config) : Closeable

more info


HaapiTokenManager instances obtain, store, and use the access tokens required on any access to HAAPI, including performing the attestation protocol required to authenticate the client application.


| HttpURLConnectionProvider|
android jvm


Content
typealias HttpURLConnectionProvider = (URL) -> HttpURLConnection

more info




A HttpURLConnectionProvider provider receives an URL and produces a properly configured HttpURLConnection for the given URL. A new HttpURLConnection instance must be returned each time the function is evaluated.




| UnexpectedTokenAccessException|
android jvm


Content
class UnexpectedTokenAccessException(msg: String) : HaapiException

more info


Used when a unexpected or error response is received from the server, namely during access token retrieval.


| UriPredicate|
android jvm


Content
typealias UriPredicate = (URI) -> Boolean

more info




Function that given an URI returns a Boolean. Used typically to check if an HTTP target URI belongs to an authorized origin set.