Skip to content

Commit 4208be7

Browse files
committed
Support Conditional Access Policy.
1 parent 338fe94 commit 4208be7

File tree

541 files changed

+38251
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

541 files changed

+38251
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2050
1+
1.36.2051

eiam/CMakeLists.txt

Lines changed: 618 additions & 0 deletions
Large diffs are not rendered by default.

eiam/include/alibabacloud/eiam/EiamClient.h

Lines changed: 1118 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_EIAMEXPORT_H_
18+
#define ALIBABACLOUD_EIAM_EIAMEXPORT_H_
19+
20+
#include <alibabacloud/core/Global.h>
21+
22+
#if defined(ALIBABACLOUD_SHARED)
23+
# if defined(ALIBABACLOUD_EIAM_LIBRARY)
24+
# define ALIBABACLOUD_EIAM_EXPORT ALIBABACLOUD_DECL_EXPORT
25+
# else
26+
# define ALIBABACLOUD_EIAM_EXPORT ALIBABACLOUD_DECL_IMPORT
27+
# endif
28+
#else
29+
# define ALIBABACLOUD_EIAM_EXPORT
30+
#endif
31+
32+
#endif // !ALIBABACLOUD_EIAM_EIAMEXPORT_H_
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSREQUEST_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSREQUEST_H_
19+
20+
#include <alibabacloud/eiam/EiamExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Eiam {
28+
namespace Model {
29+
class ALIBABACLOUD_EIAM_EXPORT AddUserToOrganizationalUnitsRequest : public RpcServiceRequest {
30+
public:
31+
AddUserToOrganizationalUnitsRequest();
32+
~AddUserToOrganizationalUnitsRequest();
33+
std::string getUserId() const;
34+
void setUserId(const std::string &userId);
35+
std::vector<std::string> getOrganizationalUnitIds() const;
36+
void setOrganizationalUnitIds(const std::vector<std::string> &organizationalUnitIds);
37+
std::string getInstanceId() const;
38+
void setInstanceId(const std::string &instanceId);
39+
40+
private:
41+
std::string userId_;
42+
std::vector<std::string> organizationalUnitIds_;
43+
std::string instanceId_;
44+
};
45+
} // namespace Model
46+
} // namespace Eiam
47+
} // namespace AlibabaCloud
48+
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSRESULT_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/eiam/EiamExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Eiam
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_EIAM_EXPORT AddUserToOrganizationalUnitsResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AddUserToOrganizationalUnitsResult();
38+
explicit AddUserToOrganizationalUnitsResult(const std::string &payload);
39+
~AddUserToOrganizationalUnitsResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDUSERTOORGANIZATIONALUNITSRESULT_H_
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPREQUEST_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPREQUEST_H_
19+
20+
#include <alibabacloud/eiam/EiamExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Eiam {
28+
namespace Model {
29+
class ALIBABACLOUD_EIAM_EXPORT AddUsersToGroupRequest : public RpcServiceRequest {
30+
public:
31+
AddUsersToGroupRequest();
32+
~AddUsersToGroupRequest();
33+
std::string getGroupId() const;
34+
void setGroupId(const std::string &groupId);
35+
std::string getInstanceId() const;
36+
void setInstanceId(const std::string &instanceId);
37+
std::vector<std::string> getUserIds() const;
38+
void setUserIds(const std::vector<std::string> &userIds);
39+
40+
private:
41+
std::string groupId_;
42+
std::string instanceId_;
43+
std::vector<std::string> userIds_;
44+
};
45+
} // namespace Model
46+
} // namespace Eiam
47+
} // namespace AlibabaCloud
48+
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPRESULT_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/eiam/EiamExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Eiam
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_EIAM_EXPORT AddUsersToGroupResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AddUsersToGroupResult();
38+
explicit AddUsersToGroupResult(const std::string &payload);
39+
~AddUsersToGroupResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDUSERSTOGROUPRESULT_H_
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSREQUEST_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSREQUEST_H_
19+
20+
#include <alibabacloud/eiam/EiamExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Eiam {
28+
namespace Model {
29+
class ALIBABACLOUD_EIAM_EXPORT AuthorizeApplicationToGroupsRequest : public RpcServiceRequest {
30+
public:
31+
AuthorizeApplicationToGroupsRequest();
32+
~AuthorizeApplicationToGroupsRequest();
33+
std::string getApplicationId() const;
34+
void setApplicationId(const std::string &applicationId);
35+
std::string getInstanceId() const;
36+
void setInstanceId(const std::string &instanceId);
37+
std::vector<std::string> getGroupIds() const;
38+
void setGroupIds(const std::vector<std::string> &groupIds);
39+
40+
private:
41+
std::string applicationId_;
42+
std::string instanceId_;
43+
std::vector<std::string> groupIds_;
44+
};
45+
} // namespace Model
46+
} // namespace Eiam
47+
} // namespace AlibabaCloud
48+
#endif // !ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSRESULT_H_
18+
#define ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/eiam/EiamExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Eiam
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_EIAM_EXPORT AuthorizeApplicationToGroupsResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
AuthorizeApplicationToGroupsResult();
38+
explicit AuthorizeApplicationToGroupsResult(const std::string &payload);
39+
~AuthorizeApplicationToGroupsResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_EIAM_MODEL_AUTHORIZEAPPLICATIONTOGROUPSRESULT_H_

0 commit comments

Comments
 (0)