Skip to content

An example of NuID's zero knowledge authentication and key management facilities in Clojure(Script)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md
Notifications You must be signed in to change notification settings

NuID/clj-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuid.clj-example

This repository contains a distilled and documented demonstration of using the nuid.credential authentication library in Clojure to interact with NuID's Auth API. The library works identically from ClojureScript.

The primary goal of this repository is to demonstrate the request and response data for each endpoint, as well as the relationship between endpoints in a typical authentication flow. In other words, nuid.clj-example is not intended to be used as a bundled client library or dependency, although one of those is on our roadmap! Similar logic could be expressed many different ways according to specific needs, dependencies, etc.. We'd love to help adapt and expand this example to other contexts, so get in touch!

Additional documentation can be found by registering for an API Key and reading the documentation in the portal. We will be publishing prettier and better in every way documentation over the coming months. And always feel welcome to reach out with any questions that arise.

Prerequisites

Getting started

The example is meant to be explored in the REPL. It is recommended to evaluate individual forms and inspect request and response data.

The typical starting point will be to open the nuid.clj-example namespace and start a REPL from the namespace as prescribed by your editor and configuration. Once the REPL has been started and the namespace has been evaluated, the forms in the (comment ,,,) block will invoke the API with the appropriate data.

Licensing

Apache v2.0 or MIT

About

An example of NuID's zero knowledge authentication and key management facilities in Clojure(Script)

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.md
MIT
LICENSE-MIT.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published