Expand description
SAML 2.0 service-provider support for RustAuth enterprise SSO.
Signed and encrypted SAML paths use opensaml when the saml-signed
feature is enabled; otherwise they fail closed with stable error codes.
Re-exports§
pub use options::SamlConfig;pub use options::SamlIdpMetadata;pub use options::SamlMapping;pub use options::SamlProviderConfig;pub use options::SamlService;pub use options::SamlSpMetadata;
Modules§
Structs§
- Saml
Conditions - Saml
Runtime Algorithm Policy - Saml
Runtime Algorithms - SpBuild
Options - Runtime inputs when building a service provider entity.
- Timestamp
Validation Options
Enums§
- Data
Encryption Algorithm - Deprecated
Algorithm Behavior - Digest
Algorithm - KeyEncryption
Algorithm - Saml
Security Error - Signature
Algorithm
Constants§
- VERSION
- Current crate version.
Functions§
- collect_
saml_ runtime_ algorithms - validate_
saml_ config_ algorithms - validate_
saml_ config_ algorithms_ with_ policy - validate_
saml_ runtime_ algorithms - validate_
saml_ timestamp - validate_
saml_ timestamp_ at
Type Aliases§
- Saml
Assertion - Public parsed assertion type.
- Saml
Error - Public SAML error type for security validation failures.
- Saml
Logout State - Public logout state identifier type.
- Saml
Signature Policy - Public signature policy placeholder for future backend selection.