UserDetailsFormatter

interface UserDetailsFormatter

UserDetailsFormatter interface is used to customize how a user is displayed with a UserDetails object.

Functions

Link copied to clipboard
abstract fun format(userDetails: UserDetails, context: FormatContext): String

Customize how to print and display user info returning desired string concatenation as the following example: return userDetails.getFirstName() + " " + userDetails.getLastName();

Inheritors

Link copied to clipboard