YggDore Sky Gate specification
3. Get user login interface
When The YggDore Sky Gate Toolbar starts to login, It accesses to a YggDore Sky Gate Server and get login interface information formatted by xml.
<?xml version="1.0" encoding="UTF-8" ?>
<Interface>
<Version>1.0</Version>
<Server>https://www.yskygate.com/en/login/</Server>
<Service key="sgu" />
<IID key="ysls">x0iD9rqchDBm8gTW39Zg7qFqGBXx93GLBa3aiTV1hQCg0y6YAa7QHZU5hDFR2THF</IID>
<ID key="cuXFp7QY" />
<Password key="PbXRVDC9" challenge="KT32S9JhByEbKKYR9XHmLgkbmFmJDkPy" />
<Query>
<Record key="a">300</Record>
<Record key="b">hello</Record>
</Query>
</Interface>
<Interface>
<Version>1.0</Version>
<Server>https://www.yskygate.com/en/login/</Server>
<Service key="sgu" />
<IID key="ysls">x0iD9rqchDBm8gTW39Zg7qFqGBXx93GLBa3aiTV1hQCg0y6YAa7QHZU5hDFR2THF</IID>
<ID key="cuXFp7QY" />
<Password key="PbXRVDC9" challenge="KT32S9JhByEbKKYR9XHmLgkbmFmJDkPy" />
<Query>
<Record key="a">300</Record>
<Record key="b">hello</Record>
</Query>
</Interface>
Server - URL to authorization site
This is as same as action URL of (x)html form.
The destination site must have authorization processing.
Service : key - Name of request sending jumpping URL after authorization
The jumpping URL after authorization is value of meta tag like as Step2-(1).
This key is name of request sending the data.
IID : key - Name of request sending interface ID
The interface ID is temporary.
This key is name of request sending the data.
IID - Interface ID
This is value of interface ID.
ID : key - Name of request sending login ID by the user
The login ID is inputted in the form by the user.
This key is name of request sending the data.
Password : key - Name of request sending password by the user
The password is inputted in the form by the user.
This key is name of request sending the data.
Password : challenge - Challenge data
This is value used by challenge and response authorization.
The response is created the following steps.
1. SHA1 hash creates from the inputted password by user.
2. This challenge data is added to the last of it.
3. SHA1 hash recreates from step2's string.
Query - Other query data
This is the YggDore Sky Gate Server wanting other query data. If no data has, there isn't this element.
Query - Record : key - Name of request sending other query data
This key is name of request sending the query data.
Query - Record - Value of request sending other query data
This value is request data to send to the server.
This is as same as action URL of (x)html form.
The destination site must have authorization processing.
Service : key - Name of request sending jumpping URL after authorization
The jumpping URL after authorization is value of meta tag like as Step2-(1).
This key is name of request sending the data.
IID : key - Name of request sending interface ID
The interface ID is temporary.
This key is name of request sending the data.
IID - Interface ID
This is value of interface ID.
ID : key - Name of request sending login ID by the user
The login ID is inputted in the form by the user.
This key is name of request sending the data.
Password : key - Name of request sending password by the user
The password is inputted in the form by the user.
This key is name of request sending the data.
Password : challenge - Challenge data
This is value used by challenge and response authorization.
The response is created the following steps.
1. SHA1 hash creates from the inputted password by user.
2. This challenge data is added to the last of it.
3. SHA1 hash recreates from step2's string.
Query - Other query data
This is the YggDore Sky Gate Server wanting other query data. If no data has, there isn't this element.
Query - Record : key - Name of request sending other query data
This key is name of request sending the query data.
Query - Record - Value of request sending other query data
This value is request data to send to the server.