Identity and Access Management API, gRPC: UserAccountService
Статья создана
Обновлена 13 декабря 2022 г.
A set of methods for managing user accounts. Currently applicable only for Yandex accounts.
Call | Description |
---|---|
Get | Returns the specified UserAccount resource. |
Calls UserAccountService
Get
Returns the specified UserAccount resource.
rpc Get (GetUserAccountRequest) returns (UserAccount)
GetUserAccountRequest
Field | Description |
---|---|
user_account_id | string Required. ID of the UserAccount resource to return. The maximum string length in characters is 50. |
UserAccount
Field | Description |
---|---|
id | string ID of the user account. |
user_account | oneof: yandex_passport_user_account or saml_user_account |
yandex_passport_user_account | YandexPassportUserAccount A YandexPassportUserAccount resource. |
saml_user_account | SamlUserAccount A SAML federated user. |
YandexPassportUserAccount
Field | Description |
---|---|
login | string Login of the Yandex user account. |
default_email | string Default email of the Yandex user account. |
SamlUserAccount
Field | Description |
---|---|
federation_id | string Required. ID of the federation that the federation belongs to. The maximum string length in characters is 50. |
name_id | string Required. Name Id of the SAML federated user. The name is unique within the federation. 1-256 characters long. The string length in characters must be 1-256. |
attributes | map<string,Attribute> Additional attributes of the SAML federated user. |
Attribute
Field | Description |
---|---|
value[] | string |