redfly-client is the client for Redfly, in two parts: a Kotlin library that apps and services use to sign people in, verify tokens and submit telemetry, and a WordPress plugin that signs WordPress users in with Redfly.
About the project
redfly-client is the client for Redfly, delivered in two parts: a Kotlin client library used by apps and services, and a PHP WordPress plugin that signs WordPress users in with Redfly and submits telemetry.
Bubbl, Caulight, DarkCrow and FairFeather use the Kotlin library; DarkCrow uses it for token verification.
Kotlin library
- JDK 17 and Kotlin 2.2.21. A plain Kotlin library, with no Spring.
- Built with Maven as a library JAR and published to the private Maven repository.
- Dependency versions are the latest stable at build time.
- Maven coordinates
ca.odssbc:redfly-client, package rootca.odssbc.redflyclient. - HTTP: the JDK
java.net.http.HttpClientover HTTP/2. The only other dependency is a PASETO v4 verifier with Ed25519 support.
WordPress plugin
- PHP 8.2 or later and WordPress 6.5 or later. Ed25519 and PASETO verification use PHP’s built-in sodium extension.
- Plugin folder
redfly-auth/, main fileredfly-auth.php. - Distributed as a private zip built in CI, published as a release artifact with update metadata.
Ports
None. redfly-client is client only.