feat: apiurls, passwordpolicy, userbyid (#507)

* feat: api doc request

* feat: return zitadel docs

* feat: return zitadel docs

* feat: pw policy min length

* feat: pw policy min length

* fix: semantic

* fix: read missing events on user by id
This commit is contained in:
Fabi
2020-07-22 16:15:11 +02:00
committed by GitHub
parent 7dcc5f9e58
commit c105bf483b
15 changed files with 4455 additions and 4207 deletions

View File

@@ -54,6 +54,12 @@ service ManagementService {
};
}
rpc GetZitadelDocs(google.protobuf.Empty) returns (ZitadelDocs) {
option (google.api.http) = {
get: "/zitadel/docs"
};
}
// GetIam returns some needed settings of the iam (Global Organisation ID, Zitadel Project ID)
rpc GetIam(google.protobuf.Empty) returns (Iam) {
option (google.api.http) = {
@@ -1356,6 +1362,11 @@ service ManagementService {
}
}
message ZitadelDocs {
string issuer = 1;
string discovery_endpoint = 2;
}
message Iam {
string global_org_id = 1;
string iam_project_id = 2;
@@ -1735,7 +1746,7 @@ message PasswordComplexityPolicy {
message PasswordComplexityPolicyCreate {
string description = 1 [(validate.rules).string = {max_len: 500}];
uint64 min_length = 2 [(validate.rules).uint64.gt = 0];
uint64 min_length = 2;
bool has_lowercase = 3;
bool has_uppercase = 4;
bool has_number = 5;