Метод | Описание | |
---|---|---|
GetPayload ( string user_id, string user_name, string user_email, string avatar_url = "", string website_url = "" ) : string |
Gets the Disqus SSO payload to authenticate users
|
|
LogoutUser ( ) : string |
Method to log out a user from SSO
|
Метод | Описание | |
---|---|---|
ByteToString ( byte buff ) : string | ||
GeneratePayload ( string serializedUserData ) : string |
public static GetPayload ( string user_id, string user_name, string user_email, string avatar_url = "", string website_url = "" ) : string | ||
user_id | string | The unique ID to associate with the user |
user_name | string | Non-unique name shown next to comments. |
user_email | string | User's email address, defined by RFC 5322 |
avatar_url | string | URL of the avatar image |
website_url | string | Website, blog or custom profile URL for the user, defined by RFC 3986 |
Результат | string |