mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:57:32 +00:00
feat(auth api): expose login policy of authenticated user (#4979)
Co-authored-by: Silvan <silvan.reusser@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user