Expand description
Thin re-export crate. All SAML logic lives in opensaml.
§Disclaimer — no affiliation
This is an independent, unofficial Rust crate. It is not affiliated
with, derived from, maintained by, endorsed by, or sponsored by the npm
samlify package or its authors.
The name is only a Rust crate alias and shares no code with that package.
Modules§
- binding
- SAML HTTP binding helpers: POST form, Redirect query, DEFLATE, base64, and XML/HTML escaping.
- constants
- SAML 2.0 URN constants and keywords.
- context
- Global parsing context (samlify
api.ts): an optional schema validator. - crypto
- XML security backend abstraction.
- entity
- Entity base settings shared by
crate::sp::ServiceProviderandcrate::idp::IdentityProvider(samlifyentity.tsdefaultEntitySetting). - error
- Error types for
opensaml. - flow
- Inbound message flow (samlify
flow.ts): decode → validate XML/status → (signature verify + optional decrypt) → extract → issuer/time validation. - idp
- SAML Identity Provider entity (samlify
entity-idp.ts). - logout
- Single Logout (SLO) — create/parse LogoutRequest & LogoutResponse
(samlify
Entity.createLogoutRequest/createLogoutResponse/parseLogout*). - metadata
- SAML metadata parsing (samlify
metadata.ts+metadata-sp/idp). - sp
- SAML Service Provider entity (samlify
entity-sp.ts). - template
- Default SAML message templates and tag substitution (samlify
libsaml.ts). - util
- Small helpers ported from samlify
utility.ts. - validator
- Time and status validation (samlify
validator.ts+flow.tscheckStatus). - xml
- XML parsing and field extraction (samlify
extractor.tsport) over quick-xml.
Structs§
- Entity
Setting - Runtime configuration for an entity (keys, algorithms, flags).
- Identity
Provider - A SAML 2.0 Identity Provider: runtime
EntitySettingplus parsedIdpMetadata. - Service
Provider - A SAML 2.0 Service Provider: runtime
EntitySettingplus parsedSpMetadata.
Enums§
- Open
Saml Error - Errors produced by the
opensamlService Provider library.