KMM-Jwt-Parser
1.0.1indexedParses JWT tokens into JSON objects, utilizing Swift for iOS integration via cinterop. Offers a straightforward API for token parsing across different platforms.
17
Stars
—
Used by
dependents
—
Health
/ 100
Parses JWT tokens into JSON objects, utilizing Swift for iOS integration via cinterop. Offers a straightforward API for token parsing across different platforms.
Kotlin multiplatform Library used to parse JWT token and return it as a JsonObject
For iOS target jwt token parsing is done in Swift side and then it is bundled using cinterop in order to call swift code from Kotlin
Sample usage:
val parser = JwtParser()
val jsonObject = parser.parse(YOUR_JWT_TOKEN)
Gradle
sourceSets {
val commonMain by getting {
dependencies {
implementation("io.github.developer--:JwtParser:1.0.0")
}
}
}
Surfaced from shared tags and platforms — no rankings paid for.