Это старая версия документа!


Создание связи с Open ID

Метод: LinkUserToOpenIdConnect

Параметр Описание
ASPNETSessionIdИдентификатор сессии
personIdИдентификатор пользователя
List<OpenIdConnectPersonLink> personLinksМассив идентификаторов пользователей в сервисе (NameIdentifier) и идентификаторы провайдера авторизации (AuthenticationType)
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <LinkUserToOpenIdConnect xmlns="http://streamline/">
      <ASPNETSessionId>string</ASPNETSessionId>
      <personId>guid</personId>
      <personLinks>
        <OpenIdConnectPersonLink>
          <AuthenticationType>string</AuthenticationType>
          <NameIdentifier>string</NameIdentifier>
        </OpenIdConnectPersonLink>
        <OpenIdConnectPersonLink>
          <AuthenticationType>string</AuthenticationType>
          <NameIdentifier>string</NameIdentifier>
        </OpenIdConnectPersonLink>
      </personLinks>
    </LinkUserToOpenIdConnect>
  </soap:Body>
</soap:Envelope>
Параметр Описание
OpenIdConnectPersonLinkРезультат выполнения запроса
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <LinkUserToOpenIdConnectResponse xmlns="http://streamline/">
      <LinkUserToOpenIdConnectResult>
        <Errors>
          <string>string</string>
          <string>string</string>
        </Errors>
        <Objects>
          <string>string</string>
          <string>string</string>
        </Objects>
      </LinkUserToOpenIdConnectResult>
    </LinkUserToOpenIdConnectResponse>
  </soap:Body>
</soap:Envelope>