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

Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
Livio Spring
2023-01-05 14:04:38 +01:00
committed by GitHub
parent f34611d675
commit 5651f98600
3 changed files with 57 additions and 0 deletions

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