samlify 0.6.1

Maintained compatibility re-export of saml-rs.
Documentation

samlify

crates.io docs.rs MIT licensed

Compatibility re-export of saml-rs. The implementation, examples, and issue tracker are in salasebas/saml-rs. This package is not the Node.js samlify project.

It is maintained with saml-rs and is pre-1.0. The import path is samlify. There has been no external security audit.

New code depends on saml-rs. Keep samlify when an existing dependency already uses this name.

Help: open an issue on the source repository.

How to keep an existing dependency

[dependencies]
samlify = "0.5"
use samlify::{Saml, Sp};

Feature flags match saml-rs and are forwarded to it. With default-features = false, select one crypto provider before calling signing or encryption APIs. The feature list is in the saml-rs README.

How to use the re-exported API

Follow the saml-rs guide for service-provider SSO, logout, and upgrades:

From a clone of the source repository:

cargo run -p saml-rs --example sso

Security

samlify 0.5 and later forbid unsafe code and re-export the saml-rs validation and crypto policy. The properties are the saml-rs security notes.

License

MIT.