AuthSamlLimits class final

Resource and parsing limits applied to SAML messages and metadata.

Constructors

AuthSamlLimits({int maxEncodedResponseBytes = 384 * 1024, int maxDecodedXmlBytes = 256 * 1024, int maxMetadataBytes = 100 * 1024, int maxNodes = 2048, int maxDepth = 24, int maxAttributes = 4096, int maxTextBytes = 128 * 1024})
Creates SAML limits with conservative bounded defaults.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxAttributes → int
Maximum number of XML attributes accepted in one message.
final
maxDecodedXmlBytes → int
Maximum decoded XML size in bytes.
final
maxDepth → int
Maximum XML nesting depth accepted in one message.
final
maxEncodedResponseBytes → int
Maximum encoded response size in bytes.
final
maxMetadataBytes → int
Maximum generated metadata size in bytes.
final
maxNodes → int
Maximum number of XML nodes accepted in one message.
final
maxTextBytes → int
Maximum text content size in bytes.
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