C# 클래스 Com.Readmill.Api.UsersClient

상속: ReadmillClientBase
파일 보기 프로젝트 열기: totobogy/ReadmillDotNet

공개 메소드들

메소드 설명
GetOwnerAsync ( string accessToken ) : Task

Retrieves the representation of the user corresponding to the authentication token.

GetUserByIdAsync ( string userId ) : Task

Retrieves the representation of a single user by id

GetUserReadings ( string userId, ReadingsQueryOptions options = null, string accessToken = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Retrieves a list of readings corresponding to the user with the specified ID.

UsersClient ( string clientId ) : System

Instantiates a client for the Readmill/Users api

보호된 메소드들

메소드 설명
LoadTemplates ( ) : void

메소드 상세

GetOwnerAsync() 공개 메소드

Retrieves the representation of the user corresponding to the authentication token.
public GetOwnerAsync ( string accessToken ) : Task
accessToken string authentication token
리턴 Task

GetUserByIdAsync() 공개 메소드

Retrieves the representation of a single user by id
public GetUserByIdAsync ( string userId ) : Task
userId string The Readmill user-id of the user you want to retrieve.
리턴 Task

GetUserReadings() 공개 메소드

Retrieves a list of readings corresponding to the user with the specified ID.
public GetUserReadings ( string userId, ReadingsQueryOptions options = null, string accessToken = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
userId string Readmill user-id of the user whose readings you want to retrieve
options ReadingsQueryOptions Query options for retrieving the readings
accessToken string
cancellationToken System.Threading.CancellationToken
리턴 Task>

LoadTemplates() 보호된 메소드

protected LoadTemplates ( ) : void
리턴 void

UsersClient() 공개 메소드

Instantiates a client for the Readmill/Users api
public UsersClient ( string clientId ) : System
clientId string Client Id of the application, assgined by Readmill when the app is registered
리턴 System