C# 클래스 Hyves.Service.Core.HyvesSession

A Hyves session represents a logical user login, and allows an application to access Hyves services in the context of the specific user.
파일 보기 프로젝트 열기: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3 1 사용 예제들

공개 메소드들

메소드 설명
GetLastResponse ( ) : HyvesResponse

Gets the last response returned from the Hyves service for access to the raw response, and status code for diagnostics purposes. This may be null.

HyvesSession ( string consumerKey, string consumerSecret, List methods ) : System

Initializes an instance of a HyvesSession.

InitializeToken ( string token, string tokenSecret, System.DateTime expireDate ) : void

Initializes the session information once a session has been created.

InitializeUserId ( string userId ) : void

Initializes the user associated with this session.

비공개 메소드들

메소드 설명
LogResponse ( HyvesResponse response ) : void

메소드 상세

GetLastResponse() 공개 메소드

Gets the last response returned from the Hyves service for access to the raw response, and status code for diagnostics purposes. This may be null.
public GetLastResponse ( ) : HyvesResponse
리턴 HyvesResponse

HyvesSession() 공개 메소드

Initializes an instance of a HyvesSession.
public HyvesSession ( string consumerKey, string consumerSecret, List methods ) : System
consumerKey string The consumer key representing the application.
consumerSecret string
methods List The methods supported in this application.
리턴 System

InitializeToken() 공개 메소드

Initializes the session information once a session has been created.
public InitializeToken ( string token, string tokenSecret, System.DateTime expireDate ) : void
token string The unique identifier of the session.
tokenSecret string The secret of the session.
expireDate System.DateTime
리턴 void

InitializeUserId() 공개 메소드

Initializes the user associated with this session.
public InitializeUserId ( string userId ) : void
userId string The identifier of the user associated with the session.
리턴 void