1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-23 19:50:05 -05:00

signon: Add missing GENUSERKEY field

This commit is contained in:
Aaron Lindsay 2020-11-17 09:17:52 -05:00
parent 2caa23564a
commit d88d45a664

View File

@ -9,17 +9,18 @@ import (
// SignonRequest identifies and authenticates a user to their FI and is // SignonRequest identifies and authenticates a user to their FI and is
// provided with every Request // provided with every Request
type SignonRequest struct { type SignonRequest struct {
XMLName xml.Name `xml:"SONRQ"` XMLName xml.Name `xml:"SONRQ"`
DtClient Date `xml:"DTCLIENT"` // Current time on client, overwritten in Client.Request() DtClient Date `xml:"DTCLIENT"` // Current time on client, overwritten in Client.Request()
UserID String `xml:"USERID"` UserID String `xml:"USERID"`
UserPass String `xml:"USERPASS,omitempty"` UserPass String `xml:"USERPASS,omitempty"`
UserKey String `xml:"USERKEY,omitempty"` UserKey String `xml:"USERKEY,omitempty"`
Language String `xml:"LANGUAGE"` // Defaults to ENG GenUserKey Boolean `xml:"GENUSERKEY,omitempty"`
Org String `xml:"FI>ORG"` Language String `xml:"LANGUAGE"` // Defaults to ENG
Fid String `xml:"FI>FID"` Org String `xml:"FI>ORG"`
AppID String `xml:"APPID"` // Overwritten in Client.Request() Fid String `xml:"FI>FID"`
AppVer String `xml:"APPVER"` // Overwritten in Client.Request() AppID String `xml:"APPID"` // Overwritten in Client.Request()
ClientUID UID `xml:"CLIENTUID,omitempty"` 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 // Name returns the name of the top-level transaction XML/SGML element