mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Implements #12, TOTP. This adds support for TOTP to the api and server, with server side token generation, authentication and the correct URI for encoding into QR codes for client token addition. Some extra measures have been taken such as in the stepped auth to always notify on the success or failure of the TOTP first (regardless of order) to prevent PW bruteforce attacks.
28 lines
778 B
TOML
28 lines
778 B
TOML
[package]
|
|
name = "kanidm_client"
|
|
version = "0.1.1"
|
|
authors = ["William Brown <william@blackhats.net.au>"]
|
|
edition = "2018"
|
|
license = "MPL-2.0"
|
|
description = "Kanidm Client Library"
|
|
documentation = "https://docs.rs/kanidm_client/latest/kanidm_client/"
|
|
homepage = "https://github.com/kanidm/kanidm/"
|
|
repository = "https://github.com/kanidm/kanidm/"
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
env_logger = "0.6"
|
|
reqwest = { version = "0.10", features=["blocking", "cookies", "json", "native-tls"] }
|
|
kanidm_proto = { path = "../kanidm_proto", version = "0.1" }
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
serde_derive = "1.0"
|
|
toml = "0.5"
|
|
uuid = { version = "0.7", features = ["serde", "v4"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = "0.2"
|
|
actix = "0.9"
|
|
kanidm = { path = "../kanidmd", version = "0.1" }
|
|
futures = "0.3"
|