feat(auth api): expose login policy of authenticated user (#4979)

Co-authored-by: Silvan <[email protected]>
This commit is contained in:
Livio Spring
2023-01-05 13:04:38 +00:00
committed by GitHub
co-authored by Silvan
parent f34611d675
commit 5651f98600
3 changed files with 57 additions and 0 deletions
+29
View File
@@ -594,6 +594,18 @@ Returns the privacy policy of the current organisation
GET: /policies/privacy
### GetMyLoginPolicy
> **rpc** GetMyLoginPolicy([GetMyLoginPolicyRequest](#getmyloginpolicyrequest))
[GetMyLoginPolicyResponse](#getmyloginpolicyresponse)
Returns the login policy of the current organisation
GET: /policies/login
@@ -767,6 +779,23 @@ This is an empty request
### GetMyLoginPolicyRequest
This is an empty request
### GetMyLoginPolicyResponse
| Field | Type | Description | Validation |
| ----- | ---- | ----------- | ----------- |
| policy | zitadel.policy.v1.LoginPolicy | - | |
### GetMyMetadataRequest