C# 클래스 Kippt.KipptUser

파일 보기 프로젝트 열기: Haythem/Kippt.NET

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Authenticate ( KipptClient client, string username, string password ) : KipptUser

HTTP basic authentication.

AuthenticateAsync ( KipptClient client, string username, string password ) : void

HTTP basic authentication.

FollowUser ( KipptClient client, int userId ) : void

Follow a user.

FollowUserAsync ( KipptClient client, int userId ) : void

Follow a user.

GetUser ( KipptClient client, int userId ) : KipptUser

Returns basic informations of a user.

GetUserAsync ( KipptClient client, int userId ) : void

Returns basic informations of a user.

GetUserFollowers ( KipptClient client, int userId, int limit, int offset ) : KipptUserCollection

Returns a list of user's followers.

GetUserFollowersAsync ( KipptClient client, int userId, int limit, int offset ) : void

Returns a list of user's followers.

GetUserFollowings ( KipptClient client, int userId, int limit, int offset ) : KipptUserCollection

Get users who user follows.

GetUserFollowingsAsync ( KipptClient client, int userId, int limit, int offset ) : void

Get users who user follows.

IsFollowing ( KipptClient client, int userId ) : bool

Checks whether the logged-in user is following another.

IsFollowingAsync ( KipptClient client, int userId ) : void

Checks whether the logged-in user is following another.

Me ( KipptClient client ) : KipptUser

Returns the logged-in user profile.

MeAsync ( KipptClient client ) : void

Returns the logged-in user profile.

Search ( KipptClient client, string query, int limit, int offset ) : KipptUserCollection

Search users with keywords. Index is build out of username, description and social profiles.

SearchAsync ( KipptClient client, string query, int limit, int offset ) : void

Search users with keywords. Index is build out of username, description and social profiles.

UnFollowUser ( KipptClient client, int userId ) : void

Unfollow a user.

UnFollowUserAsync ( KipptClient client, int userId ) : void

Unfollow a user.

메소드 상세

Authenticate() 공개 정적인 메소드

HTTP basic authentication.
Empty parameters or wrong credentials.
public static Authenticate ( KipptClient client, string username, string password ) : KipptUser
client KipptClient instance.
username string Username.
password string Password.
리턴 KipptUser

AuthenticateAsync() 공개 정적인 메소드

HTTP basic authentication.
Empty parameters or wrong credentials.
public static AuthenticateAsync ( KipptClient client, string username, string password ) : void
client KipptClient instance.
username string Username.
password string Password.
리턴 void

FollowUser() 공개 정적인 메소드

Follow a user.
public static FollowUser ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int User to follow.
리턴 void

FollowUserAsync() 공개 정적인 메소드

Follow a user.
public static FollowUserAsync ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int User to follow.
리턴 void

GetUser() 공개 정적인 메소드

Returns basic informations of a user.
public static GetUser ( KipptClient client, int userId ) : KipptUser
client KipptClient instance.
userId int
리턴 KipptUser

GetUserAsync() 공개 정적인 메소드

Returns basic informations of a user.
public static GetUserAsync ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int
리턴 void

GetUserFollowers() 공개 정적인 메소드

Returns a list of user's followers.
public static GetUserFollowers ( KipptClient client, int userId, int limit, int offset ) : KipptUserCollection
client KipptClient instance.
userId int User in question.
limit int End index.
offset int Start index.
리턴 KipptUserCollection

GetUserFollowersAsync() 공개 정적인 메소드

Returns a list of user's followers.
public static GetUserFollowersAsync ( KipptClient client, int userId, int limit, int offset ) : void
client KipptClient instance.
userId int User in question.
limit int End index.
offset int Start index.
리턴 void

GetUserFollowings() 공개 정적인 메소드

Get users who user follows.
public static GetUserFollowings ( KipptClient client, int userId, int limit, int offset ) : KipptUserCollection
client KipptClient instance.
userId int User in question.
limit int End index.
offset int Start index.
리턴 KipptUserCollection

GetUserFollowingsAsync() 공개 정적인 메소드

Get users who user follows.
public static GetUserFollowingsAsync ( KipptClient client, int userId, int limit, int offset ) : void
client KipptClient instance.
userId int User in question.
limit int End index.
offset int Start index.
리턴 void

IsFollowing() 공개 정적인 메소드

Checks whether the logged-in user is following another.
public static IsFollowing ( KipptClient client, int userId ) : bool
client KipptClient instance.
userId int User id to check against.
리턴 bool

IsFollowingAsync() 공개 정적인 메소드

Checks whether the logged-in user is following another.
public static IsFollowingAsync ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int User id to check against.
리턴 void

Me() 공개 정적인 메소드

Returns the logged-in user profile.
public static Me ( KipptClient client ) : KipptUser
client KipptClient instance.
리턴 KipptUser

MeAsync() 공개 정적인 메소드

Returns the logged-in user profile.
public static MeAsync ( KipptClient client ) : void
client KipptClient instance.
리턴 void

Search() 공개 정적인 메소드

Search users with keywords. Index is build out of username, description and social profiles.
public static Search ( KipptClient client, string query, int limit, int offset ) : KipptUserCollection
client KipptClient instance.
query string Query to match with.
limit int End index.
offset int Start index.
리턴 KipptUserCollection

SearchAsync() 공개 정적인 메소드

Search users with keywords. Index is build out of username, description and social profiles.
public static SearchAsync ( KipptClient client, string query, int limit, int offset ) : void
client KipptClient instance.
query string Query to match with.
limit int End index.
offset int Start index.
리턴 void

UnFollowUser() 공개 정적인 메소드

Unfollow a user.
public static UnFollowUser ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int User to unfollow.
리턴 void

UnFollowUserAsync() 공개 정적인 메소드

Unfollow a user.
public static UnFollowUserAsync ( KipptClient client, int userId ) : void
client KipptClient instance.
userId int User to unfollow.
리턴 void