getSecuredEnvelope method
XML for the SOAP envelope
Implementation
Envelope getSecuredEnvelope(
Body body, [
Authorization? authorization,
]) =>
Envelope(
body: body,
header: Header(
security: Security(
usernameToken: UsernameToken(
authorization: authorization ??
Authorization(
authInfo: authInfo,
timeDelta: timeDelta,
)),
mustUnderstand: 1,
),
),
);