C# 클래스 Podio.API.Client

파일 보기 프로젝트 열기: kasperbumbech/Podio.API-for-.NET

Private Properties

프로퍼티 타입 설명
ValidateConnection void

공개 메소드들

메소드 설명
Client ( AuthorizationAccessToken authInfo, string clientId, string clientSecret ) : Podio.API.Exceptions

Go use the static constructor

ConnectAsApp ( string clientId, string clientSecret, string podioAppId, string podioAppToken, string redirectUri ) : Client

Connecting as an app requires that you have authorized the app using the "Server-side flow" use the returned "code" that is the result of this interaction.

ConnectAsUser ( string client_id, string client_secret, string username, string password ) : Client

Connecting as a User does not require that you have authorized the application.

ConnectWithAuthorizationCode ( string clientId, string clientSecret, string authorizationCode, string redirectUri ) : Client

Connecting with the Authorization code requires that you have authorized using the "Server-side flow" and use the returned "code" that is the result of the authorization. Rememeber that this is a one-time enjoyment and that you should hold on to the clients AuthorizationAccessToken if you want to keep your APP's ability to be re-authorized.

비공개 메소드들

메소드 설명
ValidateConnection ( ) : void

메소드 상세

Client() 공개 메소드

Go use the static constructor
public Client ( AuthorizationAccessToken authInfo, string clientId, string clientSecret ) : Podio.API.Exceptions
authInfo AuthorizationAccessToken
clientId string
clientSecret string
리턴 Podio.API.Exceptions

ConnectAsApp() 공개 정적인 메소드

Connecting as an app requires that you have authorized the app using the "Server-side flow" use the returned "code" that is the result of this interaction.
public static ConnectAsApp ( string clientId, string clientSecret, string podioAppId, string podioAppToken, string redirectUri ) : Client
clientId string
clientSecret string
podioAppId string
podioAppToken string
redirectUri string
리턴 Client

ConnectAsUser() 공개 정적인 메소드

Connecting as a User does not require that you have authorized the application.
public static ConnectAsUser ( string client_id, string client_secret, string username, string password ) : Client
client_id string Your programs Id in podio
client_secret string The super secret and nasty guid Podio created
username string Your podio loginname (usually your email)
password string Podio enforces strong passwords of at least 8 characters length - old users can have shorter and unsafe passwords
리턴 Client

ConnectWithAuthorizationCode() 공개 정적인 메소드

Connecting with the Authorization code requires that you have authorized using the "Server-side flow" and use the returned "code" that is the result of the authorization. Rememeber that this is a one-time enjoyment and that you should hold on to the clients AuthorizationAccessToken if you want to keep your APP's ability to be re-authorized.
public static ConnectWithAuthorizationCode ( string clientId, string clientSecret, string authorizationCode, string redirectUri ) : Client
clientId string
clientSecret string
authorizationCode string
redirectUri string
리턴 Client