Expand description
Maintained compatibility re-export of saml-rs.
use opensaml::{OpenSamlError, Saml, Sp};
let _: Option<Saml<Sp>> = None;
#[allow(deprecated)]
let _: Option<OpenSamlError> = None;Modules§
- browser
- Typed browser binding, endpoint, outbound, inbound, and pending-state APIs.
- config
- Typed configuration building blocks for high-level SAML APIs.
- constants
- SAML 2.0 URN constants and keywords.
- error
- Error types for
saml-rs. - metadata
- SAML metadata parsing and shared SP/IdP metadata accessors.
- model
- Typed SAML domain models built from validated raw flow results.
- raw
- Compatibility API and low-level protocol helpers.
Structs§
- AcsEndpoint
- Assertion Consumer Service endpoint.
- Algorithm
Policy - Algorithm choices used by outgoing SAML messages.
- Assertion
- Assertion view extracted from an SSO session.
- Assertion
Id - Assertion ID extracted from a SAML assertion.
- Attribute
- SAML attribute with one or more values.
- Attribute
Value - A single SAML attribute value.
- Attributes
- Collection of SAML attributes.
- Authn
Request - Parsed AuthnRequest result.
- Authn
Session - Session data from one
AuthnStatement. - Certificate
Pem - PEM-encoded X.509 certificate material.
- Clock
Skew - Clock skew applied to SAML time-window checks.
- Credentials
- Secret-bearing and certificate material for local SAML operations.
- Endpoint
Url - Absolute HTTP(S) endpoint URL used by typed SAML endpoint wrappers.
- Entity
Id - SAML entity ID.
- Entity
Setting - Runtime configuration for an entity (keys, algorithms, flags).
- Form
Field - HTML form field emitted or consumed by browser POST bindings.
- Identity
Provider - A SAML 2.0 Identity Provider: runtime
EntitySettingplus parsedIdpMetadata. - Idp
- Marker role for an Identity Provider facade.
- IdpConfig
- Typed Identity Provider configuration.
- IdpConfig
Builder - Dependency-free builder for
IdpConfig. - IdpDescriptor
- Typed IdP peer descriptor imported from metadata.
- IdpMetadata
Config - Local IdP metadata inputs used by typed configuration.
- IdpValidation
Policy - IdP-side validation policy.
- Logout
Completed - Marker result for completed logout flows.
- Logout
Policy - Logout request and response signature policy.
- Logout
Request - Parsed LogoutRequest result.
- Logout
Response - Parsed LogoutResponse result.
- Logout
Subject - Subject data used to issue a front-channel Single Logout request.
- Message
Id - SAML protocol message
ID. - Metadata
Signature Verification - Detailed metadata signature verification result.
- NameId
- NameID value and optional format.
- Name
IdPolicy - AuthnRequest NameIDPolicy.
- Outbound
- Typed outbound browser action.
- Passphrase
- Passphrase used to decrypt private key material.
- Pending
- Pending SAML message correlation state.
- Pending
Snapshot - Persistable correlation snapshot for a pending SAML message.
- Post
Form - Typed auto-submit POST form data.
- Private
KeyPem - PEM-encoded private key material.
- Received
- Typed received message wrapper.
- Relay
State - RelayState value when a browser message carries the parameter.
- Respond
Slo - Options for issuing a LogoutResponse.
- Respond
Sso - Options for issuing SAML Responses from an IdP.
- Saml
- Typed SAML facade for high-level browser SSO/SLO flows.
- Saml
Instant - SAML instant text carried in pending snapshots and parsed results.
- Saml
Validation Context - Caller-owned validation context for typed inbound SAML messages.
- Service
Provider - A SAML 2.0 Service Provider: runtime
EntitySettingplus parsedSpMetadata. - Session
Index - SessionIndex from an AuthnStatement or LogoutRequest.
- SloEndpoint
- Single Logout service endpoint.
- Sp
- Marker role for a Service Provider facade.
- SpConfig
- Typed Service Provider configuration.
- SpConfig
Builder - Dependency-free builder for
SpConfig. - SpDescriptor
- Typed SP peer descriptor imported from metadata.
- SpMetadata
Config - Local SP metadata inputs used by typed configuration.
- SpValidation
Policy - SP-side validation and outbound signing policy.
- SsoEndpoint
- Single Sign-On service endpoint.
- SsoResponse
- Parsed SSO response envelope.
- SsoSession
- Parsed SSO login session.
- Start
Slo - Options for issuing a LogoutRequest.
- Start
Sso - Options for starting SP-initiated Web SSO.
- Started
- Started browser flow with pending state and outbound browser action.
- Subject
- SAML subject.
- Subject
Confirmation - SubjectConfirmation captured from the validated flow result.
- Template
Policy - Template and XML tag-prefix customization.
- XmlEncryption
Policy - XML encryption policy.
- XmlPolicy
- XML parser, redirect decompression, clock, and XML encryption policy.
Enums§
- Assertion
Encryption Policy - Whether assertions are encrypted in generated responses.
- Assertion
Signature Policy - Whether SPs require assertion-level signatures.
- Audience
Validation Policy - Whether an SP validates assertion audience restrictions.
- Authn
Request Signing Policy - Whether an SP signs outgoing AuthnRequests.
- Authn
Request Validation Policy - Whether an IdP requires signed inbound AuthnRequests.
- Browser
Input - Typed browser input for inbound SAML messages.
- Data
Encryption Algorithm - XML-Enc content encryption algorithm.
- Digest
Algorithm - XML digest algorithm URI used by XML-DSig profiles.
- Force
Authn - Explicit
ForceAuthnvalue for outbound AuthnRequests. - KeyEncryption
Algorithm - XML-Enc key transport algorithm.
- Logout
Binding - Single Logout bindings supported by the typed API.
- Logout
Signature Policy - Whether logout messages require signatures.
- Logout
Signing - Explicit signing choice for typed Single Logout messages.
- Message
Signature Policy - Whether SPs require message-level signatures.
- Metadata
Trust Policy - Explicit trust policy for imported SAML metadata.
- Name
IdCreation Policy - Whether SP AuthnRequests allow IdPs to create a new identifier.
- Name
IdCreation Request - AuthnRequest NameID creation request.
- Name
IdFormat - SAML NameID format URI.
- Relay
State Param - RelayState represented as absent, present empty, or present with a value.
- Replay
Key - Replay cache key derived from a validated SAML message.
- Replay
Policy - Replay behavior for typed inbound browser flows.
- Signature
Algorithm - XML signature algorithm used for outgoing signed messages.
- SsoRequest
Binding - Browser SSO request bindings supported by the typed API.
- SsoResponse
Binding - Browser SSO response bindings supported by the typed API.
- Transform
Algorithm - XML-DSig transform or canonicalization algorithm.
- Unknown
- Marker role used before a facade has been configured as an SP or IdP.
Constants§
- MAX_
RELAY_ STATE_ BYTES - SAML Bindings 2.0 recommends limiting RelayState to 80 bytes.
Traits§
- Replay
Cache - Caller-owned replay cache.
Type Aliases§
- Open
Saml Error Deprecated - Deprecated compatibility name for
SamlError. - Pending
Authn Request - Pending AuthnRequest correlation state.
- Pending
Logout Request - Pending LogoutRequest correlation state.
- Saml
Error - Error type returned by the typed SAML API.