Skip to content

Commit fed2de8

Browse files
committed
CLOUDAUTH SDK Auto Released By gongpei.gp,Version:1.3.0
发布日志: 1, Add Apis for offline VerifySDK.
1 parent 7c46125 commit fed2de8

15 files changed

+312
-9
lines changed

aliyun-python-sdk-cloudauth/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-04-09 Version: 1.3.0
2+
1, Add Apis for offline VerifySDK.
3+
14
2019-01-15 Version: 1.2.0
25
1, Add SubmitVerification API for RPMin solution.
36
2, Return authority comparison score in GetStatus, SubmitMaterials and SubmitVerification.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.2.0"
1+
__version__ = "1.3.0"

aliyun-python-sdk-cloudauth/aliyunsdkcloudauth/request/v20180916/CompareFacesRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CompareFacesRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'CompareFaces','CloudAuth')
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'CompareFaces','cloudauth')
2525
self.set_protocol_type('https');
2626
self.set_method('POST')
2727

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateAuthKeyRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'CreateAuthKey','cloudauth')
25+
26+
def get_BizType(self):
27+
return self.get_query_params().get('BizType')
28+
29+
def set_BizType(self,BizType):
30+
self.add_query_param('BizType',BizType)
31+
32+
def get_UserDeviceId(self):
33+
return self.get_query_params().get('UserDeviceId')
34+
35+
def set_UserDeviceId(self,UserDeviceId):
36+
self.add_query_param('UserDeviceId',UserDeviceId)
37+
38+
def get_SourceIp(self):
39+
return self.get_query_params().get('SourceIp')
40+
41+
def set_SourceIp(self,SourceIp):
42+
self.add_query_param('SourceIp',SourceIp)
43+
44+
def get_Test(self):
45+
return self.get_query_params().get('Test')
46+
47+
def set_Test(self,Test):
48+
self.add_query_param('Test',Test)
49+
50+
def get_AuthYears(self):
51+
return self.get_query_params().get('AuthYears')
52+
53+
def set_AuthYears(self,AuthYears):
54+
self.add_query_param('AuthYears',AuthYears)
55+
56+
def get_Lang(self):
57+
return self.get_query_params().get('Lang')
58+
59+
def set_Lang(self,Lang):
60+
self.add_query_param('Lang',Lang)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateVerifySDKRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'CreateVerifySDK','cloudauth')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
31+
32+
def get_AppUrl(self):
33+
return self.get_query_params().get('AppUrl')
34+
35+
def set_AppUrl(self,AppUrl):
36+
self.add_query_param('AppUrl',AppUrl)
37+
38+
def get_Lang(self):
39+
return self.get_query_params().get('Lang')
40+
41+
def set_Lang(self,Lang):
42+
self.add_query_param('Lang',Lang)
43+
44+
def get_Platform(self):
45+
return self.get_query_params().get('Platform')
46+
47+
def set_Platform(self,Platform):
48+
self.add_query_param('Platform',Platform)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DescribeDeviceInfoRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'DescribeDeviceInfo','cloudauth')
25+
26+
def get_BizType(self):
27+
return self.get_query_params().get('BizType')
28+
29+
def set_BizType(self,BizType):
30+
self.add_query_param('BizType',BizType)
31+
32+
def get_UserDeviceId(self):
33+
return self.get_query_params().get('UserDeviceId')
34+
35+
def set_UserDeviceId(self,UserDeviceId):
36+
self.add_query_param('UserDeviceId',UserDeviceId)
37+
38+
def get_TotalCount(self):
39+
return self.get_query_params().get('TotalCount')
40+
41+
def set_TotalCount(self,TotalCount):
42+
self.add_query_param('TotalCount',TotalCount)
43+
44+
def get_SourceIp(self):
45+
return self.get_query_params().get('SourceIp')
46+
47+
def set_SourceIp(self,SourceIp):
48+
self.add_query_param('SourceIp',SourceIp)
49+
50+
def get_PageSize(self):
51+
return self.get_query_params().get('PageSize')
52+
53+
def set_PageSize(self,PageSize):
54+
self.add_query_param('PageSize',PageSize)
55+
56+
def get_CurrentPage(self):
57+
return self.get_query_params().get('CurrentPage')
58+
59+
def set_CurrentPage(self,CurrentPage):
60+
self.add_query_param('CurrentPage',CurrentPage)
61+
62+
def get_Lang(self):
63+
return self.get_query_params().get('Lang')
64+
65+
def set_Lang(self,Lang):
66+
self.add_query_param('Lang',Lang)
67+
68+
def get_ExpiredEndDay(self):
69+
return self.get_query_params().get('ExpiredEndDay')
70+
71+
def set_ExpiredEndDay(self,ExpiredEndDay):
72+
self.add_query_param('ExpiredEndDay',ExpiredEndDay)
73+
74+
def get_DeviceId(self):
75+
return self.get_query_params().get('DeviceId')
76+
77+
def set_DeviceId(self,DeviceId):
78+
self.add_query_param('DeviceId',DeviceId)
79+
80+
def get_ExpiredStartDay(self):
81+
return self.get_query_params().get('ExpiredStartDay')
82+
83+
def set_ExpiredStartDay(self,ExpiredStartDay):
84+
self.add_query_param('ExpiredStartDay',ExpiredStartDay)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DescribeVerifySDKRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'DescribeVerifySDK','cloudauth')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
31+
32+
def get_Lang(self):
33+
return self.get_query_params().get('Lang')
34+
35+
def set_Lang(self,Lang):
36+
self.add_query_param('Lang',Lang)
37+
38+
def get_TaskId(self):
39+
return self.get_query_params().get('TaskId')
40+
41+
def set_TaskId(self,TaskId):
42+
self.add_query_param('TaskId',TaskId)

aliyun-python-sdk-cloudauth/aliyunsdkcloudauth/request/v20180916/DetectFaceAttributesRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class DetectFaceAttributesRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'DetectFaceAttributes','CloudAuth')
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'DetectFaceAttributes','cloudauth')
2525
self.set_protocol_type('https');
2626
self.set_method('POST')
2727

aliyun-python-sdk-cloudauth/aliyunsdkcloudauth/request/v20180916/GetMaterialsRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class GetMaterialsRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'GetMaterials','CloudAuth')
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'GetMaterials','cloudauth')
2525
self.set_protocol_type('https');
2626

2727
def get_ResourceOwnerId(self):

aliyun-python-sdk-cloudauth/aliyunsdkcloudauth/request/v20180916/GetStatusRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class GetStatusRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'GetStatus','CloudAuth')
24+
RpcRequest.__init__(self, 'Cloudauth', '2018-09-16', 'GetStatus','cloudauth')
2525
self.set_protocol_type('https');
2626

2727
def get_ResourceOwnerId(self):

0 commit comments

Comments
 (0)