mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-15 04:53:20 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user