From d88d45a6642b0daf910e902f7b342609c82aafe8 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Tue, 17 Nov 2020 09:17:52 -0500 Subject: [PATCH] signon: Add missing GENUSERKEY field --- signon.go | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/signon.go b/signon.go index f88c52e..6c9cebd 100644 --- a/signon.go +++ b/signon.go @@ -9,17 +9,18 @@ import ( // SignonRequest identifies and authenticates a user to their FI and is // provided with every Request type SignonRequest struct { - XMLName xml.Name `xml:"SONRQ"` - DtClient Date `xml:"DTCLIENT"` // Current time on client, overwritten in Client.Request() - UserID String `xml:"USERID"` - UserPass String `xml:"USERPASS,omitempty"` - UserKey String `xml:"USERKEY,omitempty"` - Language String `xml:"LANGUAGE"` // Defaults to ENG - Org String `xml:"FI>ORG"` - Fid String `xml:"FI>FID"` - AppID String `xml:"APPID"` // Overwritten in Client.Request() - AppVer String `xml:"APPVER"` // Overwritten in Client.Request() - ClientUID UID `xml:"CLIENTUID,omitempty"` + XMLName xml.Name `xml:"SONRQ"` + DtClient Date `xml:"DTCLIENT"` // Current time on client, overwritten in Client.Request() + UserID String `xml:"USERID"` + UserPass String `xml:"USERPASS,omitempty"` + UserKey String `xml:"USERKEY,omitempty"` + GenUserKey Boolean `xml:"GENUSERKEY,omitempty"` + Language String `xml:"LANGUAGE"` // Defaults to ENG + Org String `xml:"FI>ORG"` + Fid String `xml:"FI>FID"` + AppID String `xml:"APPID"` // Overwritten in Client.Request() + AppVer String `xml:"APPVER"` // Overwritten in Client.Request() + ClientUID UID `xml:"CLIENTUID,omitempty"` } // Name returns the name of the top-level transaction XML/SGML element