Web Login
Updated: 2017-09-27
After obtaining the user token
through the Authentication API, you can log in to the Fileshow YunKu web version.
Request
Note: All parameter values must be URL encoded according to rfc3986
.
GET /oauth/sso?token={token}&url={url}&n={random_characters}&dateline={timestamp}&sign={signature} HTTP/1.1
Host: passport.fileshow.com
Parameters
Name | Description |
---|---|
token | The user token obtained after successful authentication |
url | The URL of the YunKu Web version to redirect to after login, e.g., http://app.fileshow.com/web/index |
n | 6 random characters, e.g., "abcdef" |
dateline | The current time in Unix timestamp format, e.g., "1356019200" |
sign | The signature, calculated using the client_secret associated with the token. It signs all parameter values. |