public class LiveWebAuthServiceImpl extends LiveBaseService implements ILiveWebAuthService
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX| 构造器和说明 |
|---|
LiveWebAuthServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
LiveChannelAuthResponse |
channelAuth(LiveChannelAuthRequest liveChannelAuthRequest)
查询直播频道观看条件
API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/auth/
|
LiveChannelWriteListResponse |
channelWriteList(LiveChannelWriteListRequest liveChannelWriteListRequest)
查询频道观看白名单列表
API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-white-list/
|
Boolean |
createChannelWriteList(LiveCreateChannelWriteListRequest liveCreateChannelWriteListRequest)
添加单个白名单
|
Boolean |
updateChannelAuth(LiveUpdateChannelAuthRequest liveUpdateChannelAuthRequest)
设置观看条件
API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/channel-auth-update/
|
LiveChannelAuthCustomResponse |
updateChannelAuthCustom(LiveChannelAuthCustomRequest liveChannelAuthCustomRequest)
设置自定义授权地址
API地址:https://dev.polyv.net/2016/liveproduct/l-api/szgkygg/ymgktj/zbsq/
|
LiveChannelAuthExternalResponse |
updateChannelAuthExternal(LiveChannelAuthExternalRequest liveChannelAuthExternalRequest)
通过接口设置外部授权
API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/externalauth/
|
Boolean |
updateChannelAuthType(LiveChannelAuthTypeRequest liveChannelAuthTypeRequest)
设置授权观看类型
API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/set-auth-type/
|
Boolean |
updateChannelAuthUrl(LiveUpdateChannelAuthUrlRequest liveUpdateChannelAuthUrlRequest)
设置授权认证URL
API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/update-auth-url/
|
baseGet, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFilepublic Boolean createChannelWriteList(LiveCreateChannelWriteListRequest liveCreateChannelWriteListRequest) throws IOException, NoSuchAlgorithmException
createChannelWriteList 在接口中 ILiveWebAuthServiceliveCreateChannelWriteListRequest - 添加单个白名单请求体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateChannelAuth(LiveUpdateChannelAuthRequest liveUpdateChannelAuthRequest) throws IOException, NoSuchAlgorithmException
updateChannelAuth 在接口中 ILiveWebAuthServiceliveUpdateChannelAuthRequest - 设置观看条件请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelAuthExternalResponse updateChannelAuthExternal(LiveChannelAuthExternalRequest liveChannelAuthExternalRequest) throws IOException, NoSuchAlgorithmException
updateChannelAuthExternal 在接口中 ILiveWebAuthServiceliveChannelAuthExternalRequest - 通过接口设置外部授权请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelAuthCustomResponse updateChannelAuthCustom(LiveChannelAuthCustomRequest liveChannelAuthCustomRequest) throws IOException, NoSuchAlgorithmException
updateChannelAuthCustom 在接口中 ILiveWebAuthServiceliveChannelAuthCustomRequest - 设置自定义授权地址请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateChannelAuthType(LiveChannelAuthTypeRequest liveChannelAuthTypeRequest) throws IOException, NoSuchAlgorithmException
updateChannelAuthType 在接口中 ILiveWebAuthServiceliveChannelAuthTypeRequest - 设置授权观看类型请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelAuthResponse channelAuth(LiveChannelAuthRequest liveChannelAuthRequest) throws IOException, NoSuchAlgorithmException
channelAuth 在接口中 ILiveWebAuthServiceliveChannelAuthRequest - 查询直播频道观看条件请求实体IOException - 异常NoSuchAlgorithmException - 异常public LiveChannelWriteListResponse channelWriteList(LiveChannelWriteListRequest liveChannelWriteListRequest) throws IOException, NoSuchAlgorithmException
channelWriteList 在接口中 ILiveWebAuthServiceliveChannelWriteListRequest - 查询频道观看白名单列表请求实体IOException - 异常NoSuchAlgorithmException - 异常public Boolean updateChannelAuthUrl(LiveUpdateChannelAuthUrlRequest liveUpdateChannelAuthUrlRequest) throws IOException, NoSuchAlgorithmException
updateChannelAuthUrl 在接口中 ILiveWebAuthServiceliveUpdateChannelAuthUrlRequest - 设置授权认证URL请求实体IOException - 异常NoSuchAlgorithmException - 异常Copyright © 2020. All rights reserved.