C# 클래스 Disqus.Examples.SSO

파일 보기 프로젝트 열기: disqus/DISQUS-API-Recipes

공개 메소드들

메소드 설명
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

메소드 상세

GetPayload() 공개 정적인 메소드

Gets the Disqus SSO payload to authenticate users
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

LogoutUser() 공개 정적인 메소드

Method to log out a user from SSO
public static LogoutUser ( ) : string
리턴 string