DVSaml class
Validates SAML responses from an identity provider.
Constructors
Properties
- clockSkew → Duration
-
Tolerance for clocks that disagree. Without it, a correct login fails
intermittently on a server whose clock drifts by seconds.
final
- expectedAudience → String
-
This service provider's entity ID. An assertion for a different audience
is a valid assertion issued to somebody else.
final
- expectedIssuer → String
-
final
- expectedRecipient → String?
-
The ACS URL the assertion must name, where the IdP sends one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idpCertificate → String
-
The IdP's signing certificate, base64 DER as it appears in metadata.
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
-
validateResponse(
String base64Response, {String? expectedInResponseTo, DateTime? now}) → DVSamlResult - Validates a base64-encoded SAMLResponse.
-
validateXml(
String xml, {String? expectedInResponseTo, DateTime? now}) → DVSamlResult - Validates the response XML directly.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited