AssumeRoleWithSAMLResponse.fromXml constructor
AssumeRoleWithSAMLResponse.fromXml(
- XmlElement elem
Implementation
factory AssumeRoleWithSAMLResponse.fromXml(_s.XmlElement elem) {
return AssumeRoleWithSAMLResponse(
assumedRoleUser: _s
.extractXmlChild(elem, 'AssumedRoleUser')
?.let((e) => AssumedRoleUser.fromXml(e)),
audience: _s.extractXmlStringValue(elem, 'Audience'),
credentials: _s
.extractXmlChild(elem, 'Credentials')
?.let((e) => Credentials.fromXml(e)),
issuer: _s.extractXmlStringValue(elem, 'Issuer'),
nameQualifier: _s.extractXmlStringValue(elem, 'NameQualifier'),
packedPolicySize: _s.extractXmlIntValue(elem, 'PackedPolicySize'),
subject: _s.extractXmlStringValue(elem, 'Subject'),
subjectType: _s.extractXmlStringValue(elem, 'SubjectType'),
);
}