Skip to content

Client for pushing keychains (permissions) to users of Oslonøkkelen

Notifications You must be signed in to change notification settings

oslokommune/oslonokkelen-keychain-push

Repository files navigation

Oslonøkkelen - Keychain push

Test

Users of Oslonøkkelen get access to doors via keychains. Other systems can an API to push keychains to users who have verified their phone number.

Docs

Full documentation: https://oslokommune.github.io/oslonokkelen-keychain-push/

We use Asciidoctor for our documentation. Follow these steps to submit changes. You will need some cli tools installed, but the build tasks will tell you if any of them are missing.

  1. Update the asciidoc files
  2. Generate updated html files by running ./gradlew :oslonokkelen-keychain-push-docs:asciidoc
  3. Commit and push your changes.

Anti bikeshedding

Please install the Ktlint git pre-commit hook to auto format changed files before submitting pull requests to this repository.

./gradlew addKtlintFormatGitPreCommitHook

Modules

:oslonokkelen-keychain-push-docs

Asciidoc documentation. Run ./gradlew :oslonokkelen-keychain-push-docs:asciidoc to render the documentation as html under docs. It depends on having a few chart / diagram utils available on $PATH. The build script should detect if any of those are missing and print instructions on how to install them.

:oslonokkelen-keychain-push-protobuf

Protobuf messages used in the api. Gradle tasks for compiling .proto to .java. Our documentation embeds the protobuf so please remember to re-generate the docs after updating the protobuf api.

:oslonokkelen-keychain-push-client

Kotlin client not tied to a specific http client implementation. You can either use the oslonokkelen-keychain-push-client-ktor implementation for Ktor or provide your own implementation of OslonokkelenKeychainPushClient if you want to use a different http client.

:oslonokkelen-keychain-push-client-ktor

Kotlin / Ktor client implementation.

:oslonokkelen-keychain-push-cli

Simple cli application for testing the api.

About

Client for pushing keychains (permissions) to users of Oslonøkkelen

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages