We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello all, this library currently won't work with kotlin multiplatform module because it's using the:
Example implementation in my code (splitToken is copied from this project)
splitToken
val jwtBody = JWTPayload.splitToken(loginData.access_token ?: "")?.get(1) if (jwtBody.isNullOrEmpty()) { throw IllegalArgumentException() } val jwtAccessToken = Json{ ignoreUnknownKeys = true }.decodeFromString<JWTPayload>( jwtBody.decodeBase64Bytes().decodeToString() ) if (jwtAccessToken.sub.isEmpty()) { throw IllegalArgumentException() }
Regards, Luca.
Replace base64 and parcelable function/object.
Implement native code functions/libs.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Describe the problem you'd like to have solved
Hello all,
this library currently won't work with kotlin multiplatform module because it's using the:
It would be nice to replace this function with ktor's utility function:
Example implementation in my code (
splitToken
is copied from this project)Regards,
Luca.
Describe the ideal solution
Replace base64 and parcelable function/object.
Alternatives and current workarounds
Implement native code functions/libs.
Additional context
No response
The text was updated successfully, but these errors were encountered: