UserTransformer

fun interface UserTransformer

A transformer that can be used to transform a user object before third parties can access it. This is useful for adding extra data to the user object and/or encrypting/decrypting it.

Inheritors

Functions

Link copied to clipboard
abstract fun transform(user: User): User

Transforms the user before returning it to the caller. This can be used to add extra data to the message object and/or encrypt/decrypt it.