AuthSamlOptions class final

Runtime policy for SAML request lifetime, redirects, and storage.

Constructors

AuthSamlOptions({Duration requestTtl = const Duration(minutes: 5), Duration clockSkew = const Duration(minutes: 1), Duration maximumAssertionLifetime = const Duration(minutes: 10), AuthSamlLimits limits = const AuthSamlLimits(), AuthSamlRedirectPolicy redirectPolicy = const AuthSamlRedirectPolicy.relativeOnly(), AuthSamlIdpInitiatedPolicy idpInitiated = const AuthSamlIdpInitiatedPolicy.disabled(), bool allowInMemoryStoreForTesting = false})
Creates SAML options with secure defaults.
const

Properties

allowInMemoryStoreForTesting bool
Whether the test-only in-memory replay store is permitted.
final
clockSkew Duration
Clock tolerance applied to SAML timestamps.
final
hashCode int
The hash code for this object.
no setterinherited
idpInitiated AuthSamlIdpInitiatedPolicy
IdP-initiated response policy.
final
limits AuthSamlLimits
Message and metadata resource limits.
final
maximumAssertionLifetime Duration
Maximum permitted assertion lifetime.
final
redirectPolicy AuthSamlRedirectPolicy
Callback URI validation policy.
final
requestTtl Duration
Lifetime of a service-provider-initiated request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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