Method | Description | |
---|---|---|
GetAgent ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, string agentId, int timeOut = Config.TIME_OUT ) : |
获取企业号应用
|
|
GetAgentAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, string agentId, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取企业号应用
|
|
GetAuthInfo ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : |
获取企业号的授权信息
|
|
GetAuthInfoAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取企业号的授权信息
|
|
GetCorpToken ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : |
获取企业号access_token
|
|
GetCorpTokenAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取企业号access_token
|
|
GetPermanentCode ( string suiteAccessToken, string suiteId, string authCode, int timeOut = Config.TIME_OUT ) : |
获取企业号的永久授权码
|
|
GetPermanentCodeAsync ( string suiteAccessToken, string suiteId, string authCode, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取企业号的永久授权码
|
|
GetPreAuthCode ( string suiteAccessToken, string suiteId, int timeOut = 10000 ) : |
获取预授权码
|
|
GetPreAuthCodeAsync ( string suiteAccessToken, string suiteId, int timeOut = 10000 ) : Task |
【异步方法】获取预授权码
|
|
GetSuiteToken ( string suiteId, string suiteSecret, string suiteTicket, int timeOut = Config.TIME_OUT ) : |
获取应用套件令牌
|
|
GetSuiteTokenAsync ( string suiteId, string suiteSecret, string suiteTicket, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】 获取应用套件令牌
|
|
SetAgent ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, |
设置企业号应用
|
|
SetAgentAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, |
【异步方法】设置企业号应用
|
|
SetAuthConfig ( string suiteAccessToken, string authCode, int appid, int auth_type, int timeOut = 10000 ) : object |
设置授权配置
|
|
SetAuthConfigAsync ( string suiteAccessToken, string authCode, int appid, int auth_type, int timeOut = 10000 ) : Task |
【异步方法】设置授权配置
|
public static GetAgent ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, string agentId, int timeOut = Config.TIME_OUT ) : |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,从get_permanent_code接口中获取 |
agentId | string | 授权方应用id |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetAgentAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, string agentId, int timeOut = Config.TIME_OUT ) : Task |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,从get_permanent_code接口中获取 |
agentId | string | 授权方应用id |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static GetAuthInfo ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,通过get_permanent_code获取 |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetAuthInfoAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : Task |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,通过get_permanent_code获取 |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static GetCorpToken ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,通过get_permanent_code获取 |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetCorpTokenAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, int timeOut = Config.TIME_OUT ) : Task |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,通过get_permanent_code获取 |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static GetPermanentCode ( string suiteAccessToken, string suiteId, string authCode, int timeOut = Config.TIME_OUT ) : |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCode | string | 临时授权码会在授权成功时附加在redirect_uri中跳转回应用提供商网站。 |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetPermanentCodeAsync ( string suiteAccessToken, string suiteId, string authCode, int timeOut = Config.TIME_OUT ) : Task |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCode | string | 临时授权码会在授权成功时附加在redirect_uri中跳转回应用提供商网站。 |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static GetPreAuthCode ( string suiteAccessToken, string suiteId, int timeOut = 10000 ) : |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetPreAuthCodeAsync ( string suiteAccessToken, string suiteId, int timeOut = 10000 ) : Task |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static GetSuiteToken ( string suiteId, string suiteSecret, string suiteTicket, int timeOut = Config.TIME_OUT ) : |
||
suiteId | string | 应用套件id |
suiteSecret | string | 应用套件secret |
suiteTicket | string | 微信后台推送的ticket |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static GetSuiteTokenAsync ( string suiteId, string suiteSecret, string suiteTicket, int timeOut = Config.TIME_OUT ) : Task |
||
suiteId | string | 应用套件id |
suiteSecret | string | 应用套件secret |
suiteTicket | string | 微信后台推送的ticket |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static SetAgent ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,从get_permanent_code接口中获取 |
agent | 要设置的企业应用的信息 | |
timeOut | int | 代理请求超时时间(毫秒) |
return |
public static SetAgentAsync ( string suiteAccessToken, string suiteId, string authCorpId, string permanentCode, |
||
suiteAccessToken | string | |
suiteId | string | 应用套件id |
authCorpId | string | 授权方corpid |
permanentCode | string | 永久授权码,从get_permanent_code接口中获取 |
agent | 要设置的企业应用的信息 | |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static SetAuthConfig ( string suiteAccessToken, string authCode, int appid, int auth_type, int timeOut = 10000 ) : object | ||
suiteAccessToken | string | |
authCode | string | 预授权码 |
appid | int | 允许进行授权的应用id,如1、2、3, 不填或者填空数组都表示允许授权套件内所有应用 |
auth_type | int | 授权类型:0 正式授权, 1 测试授权, 默认值为0 |
timeOut | int | |
return | object |
public static SetAuthConfigAsync ( string suiteAccessToken, string authCode, int appid, int auth_type, int timeOut = 10000 ) : Task | ||
suiteAccessToken | string | |
authCode | string | 预授权码 |
appid | int | 允许进行授权的应用id,如1、2、3, 不填或者填空数组都表示允许授权套件内所有应用 |
auth_type | int | 授权类型:0 正式授权, 1 测试授权, 默认值为0 |
timeOut | int | |
return | Task |