withCustomAttribute

fun withCustomAttribute(attribute: Serializable): UserDetails.Builder

User's custom attribute, to use in special cases.

Return

Builder

Parameters

attribute