Zum Hauptinhalt springen

SourceUserLookupRequestDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Request of POST ExternalTenantUserMappings/sourceUserLookup in the target tenant: finds exactly one user of a source tenant by exact user name or exact e-mail, so a target-tenant administrator can grant that user access without seeing the source tenant's user directory.

public record SourceUserLookupRequestDto : IEquatable<SourceUserLookupRequestDto>

Inheritance Object → SourceUserLookupRequestDto
Implements IEquatable<SourceUserLookupRequestDto>

Remarks:

The identifier travels in the request body (POST) so that e-mail addresses do not end up in access logs. There is no prefix, substring or wildcard semantics: the identity service compares the normalized identifier with the normalized user name or e-mail only. Contract: docs/CONCEPT-SIBLING-TENANT-GRANTS.md in octo-identity-services.

Properties​

SourceTenantId​

The tenant the user belongs to (registry ancestor or a sibling tenant that permits the target tenant).

public string SourceTenantId { get; set; }

Property Value​

String

Identifier​

Exact user name or exact e-mail address of the user in the source tenant (case-insensitive).

public string Identifier { get; set; }

Property Value​

String

Constructors​

SourceUserLookupRequestDto()​

public SourceUserLookupRequestDto()