Package-level declarations

Types

Link copied to clipboard
@ObjCName(swiftName = "AuthCodeRequest", name = "AuthCodeRequest", exact = true)
data class AuthCodeRequest(val url: Url, val config: OpenIdConnectClientConfig, val pkce: Pkce, val state: String, val nonce: String)
Link copied to clipboard
@ObjCName(swiftName = "CodeChallengeMethod", name = "CodeChallengeMethod", exact = true)
enum CodeChallengeMethod : Enum<CodeChallengeMethod>

Code Challenge Methods defined by RFC7636: PKCE

Link copied to clipboard
@ObjCName(name = "IdToken", swiftName = "IdToken", exact = true)
data class IdToken(val iss: String?, val sub: String?, val aud: List<String>?, val exp: Long?, val iat: Long?, val auth_time: Long?, val nonce: String?, val acr: String?, val amr: List<String>?, val azp: String?, val alg: String?, val kid: String?, val at_hash: String?, val additionalClaims: Map<String, Any?>)

https://openid.net/specs/openid-connect-core-1_0.html#IDToken

Link copied to clipboard
@ObjCName(name = "Jwt", swiftName = "Jwt", exact = true)
data class Jwt(val header: JwtHeader, val payload: IdToken, val signature: String?)
Link copied to clipboard
@ObjCName(name = "JwtClaims", swiftName = "JwtClaims", exact = true)
value class JwtClaims(val claims: Map<String, Any?>)
Link copied to clipboard
@Serializable
@ObjCName(name = "JwtHeader", swiftName = "JwtHeader", exact = true)
data class JwtHeader(val alg: String, val jku: String?, val jwk: String?, val kid: String?, val x5u: String?, val x5c: String?, val x5t: String?, val x5tS256: String?, val typ: String?, val cty: String?, val crit: String?)

https://datatracker.ietf.org/doc/html/rfc7515#section-4.1

Link copied to clipboard
@ObjCName(name = "JwtParser", swiftName = "JwtParser", exact = true)
object JwtParser
Link copied to clipboard
@ObjCName(swiftName = "TokenRequest", name = "TokenRequest", exact = true)
data class TokenRequest(val request: HttpStatement, val formParameters: Parameters)

Functions

Link copied to clipboard
Link copied to clipboard