AuthSamlPlugin<TContext> class final

Optional SAML 2.0 SSO server plugin.

XML signature verification is deliberately application-owned. Routed does not ship a verifier until a portable implementation can prove exact signed reference binding and hostile XML behavior.

Implemented types

Constructors

AuthSamlPlugin({required AuthSamlConnectionCatalog connections, required AuthSamlReplayStore replayStore, required AuthSamlAssertionVerifier assertionVerifier, required AuthSamlIdentityResolver<TContext> identityResolver, required AuthSamlBrowserBindingResolver<TContext> browserBindingResolver, AuthSamlOptions options = const AuthSamlOptions(), DateTime clock()?})
Creates a SAML server plugin from application-owned trust and storage.

Properties

assertionVerifier → AuthSamlAssertionVerifier
Application-owned verifier for the signed SAML response.
final
browserBindingResolver → AuthSamlBrowserBindingResolver<TContext>
Binds SAML requests to the initiating browser context.
final
clientOperations → Iterable<AuthClientOperationDescriptor>
Describes the client operations corresponding to SAML endpoints.
no setteroverride
connections → AuthSamlConnectionCatalog
Catalog used to resolve configured SAML connections.
final
dataContract → AuthServerPluginDataContract
SAML does not contribute a user persistence data contract.
no setteroverride
endpoints → Iterable<AuthEndpointDescriptor<TContext>>
Describes the metadata, sign-in, and assertion-consumer endpoints.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
The stable plugin identifier.
no setteroverride
identityResolver → AuthSamlIdentityResolver<TContext>
Resolves or provisions the authenticated application user.
final
options → AuthSamlOptions
Runtime policy and resource limits.
final
persistenceSchemas → Iterable<AuthPersistenceSchema>
Describes the persistence schema and atomic SAML operations.
no setteroverride
rateLimitOperations → Iterable<AuthRateLimitOperation>
Describes the rate-limit buckets used by SAML mutations.
no setteroverride
replayStore → AuthSamlReplayStore
Atomic store used for request and assertion replay state.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

configure(AuthServerPluginContext<TContext> context) → void
Configures the plugin in the server context.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validateProductionPosture() → void
Verifies that the configured replay store is production-safe.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited