Identity and Access Management API, gRPC: YandexPassportUserAccountService
Written by
Updated at December 13, 2022
A set of methods for managing YandexPassportUserAccount resources.
Call | Description |
---|---|
GetByLogin | Returns the specified YandexPassportUserAccount resource. |
Calls YandexPassportUserAccountService
GetByLogin
Returns the specified YandexPassportUserAccount resource.
rpc GetByLogin (GetUserAccountByLoginRequest) returns (UserAccount)
GetUserAccountByLoginRequest
Field | Description |
---|---|
login | string Required. Login of the YandexPassportUserAccount resource to return. |
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 |