Expand description
SAML 2.0 service provider and Shared Signals poll receiver.
Structs§
- Config
- Configuration with its files read and its defaults filled in.
signalsis present only when CAEP and RISC are off.Nonemeans on. - IdpMetadata
- The identity provider material this service provider needs.
- KeyMaterial
- A self-signed certificate and the RSA key it names.
- Login
Options - How an AuthnRequest is built. A missing relay state is omitted.
- Login
Request - The signed AuthnRequest, as a redirect or a POST form.
- Memory
Replay Cache - Remembers which assertions have been accepted.
- Memory
Session Index - Which local sessions belong to which person.
- Receiver
Options - Configures a Shared Signals poll receiver.
- Saml
Error - Every failure this crate reports. Display is the message alone.
- Saml
Login - A person the assertion consumer accepted.
- Saml
Status - A non-success status an identity provider answered with.
- Service
Provider - The SAML 2.0 service provider.
- Session
Record - One local session the receiver can end.
- Signal
Event - One event inside a Security Event Token.
- Signals
Receiver - Polls one RFC 8936 stream of CAEP and RISC events.
- TlsOptions
- Trust and client certificate for the back channel.
Enums§
- AcsBody
- What
acsreads from a POST body.
Constants§
- DEFAULT_
SUBJECT_ ATTRIBUTE - The SAML attribute a Shared Signals subject is taken from when none is named.
Traits§
- Logger
- Operational messages from the receiver.
Functions§
- caep_
events - Every CAEP event type, in declaration order.
- create_
self_ signed_ key_ pair - An RSA key and a self-signed certificate.
bitsis 2048, 3072, or 4096. - default_
ending_ events - Events that end the local sessions they name.
- default_
events_ requested - The receiver’s default subscription.
- event
- The URI of a named CAEP, RISC, or SSF event. Unknown names are empty.
- metadata_
document - This service provider’s metadata, without contacting the identity provider.
- post_
form_ html - The browser form that carries an HTTP-POST SAML message. Fields are emitted in the order given.
- read_
idp_ metadata - Reads an identity provider’s metadata document.
- resolve_
config - Reads files named by the configuration and fills in defaults.
- risc_
events - Every RISC event type, in declaration order.
- subject_
of - Who an event’s
sub_idnames:person,email, andidp_session. - tracked_
from - The index record for a SAML login.
- verify_
compact_ jws - Checks a Security Event Token against the transmitter’s keys.