FederatedIdMapperImpl

internal class FederatedIdMapperImpl(selfUserId: UserId, qualifiedIdMapper: QualifiedIdMapper, sessionRepository: SessionRepository) : FederatedIdMapper

Mapper that enables parsing QualifiedID into a String having in consideration federation.

In detail, if isFederationEnabled is true then the full qualified form will be used otherwise the plain value will be used

Constructors

Link copied to clipboard
internal constructor(selfUserId: UserId, qualifiedIdMapper: QualifiedIdMapper, sessionRepository: SessionRepository)

Functions

Link copied to clipboard
open suspend override fun parseToFederatedId(qualifiedID: QualifiedID): String
open suspend override fun parseToFederatedId(qualifiedStringID: String): String