kvision / pl.treksoft.kvision.remote / Profile

Profile

actual typealias Profile = <ERROR CLASS>

A user profile.

actual data class Profile

A user profile.

Constructors

<init>

Profile(id: String? = null, attributes: MutableMap<String, String> = mutableMapOf(), authenticationAttributes: MutableMap<String, String> = mutableMapOf(), roles: MutableSet<String> = mutableSetOf(), permissions: MutableSet<String> = mutableSetOf(), linkedId: String? = null, remembered: Boolean = false, clientName: String? = null)

A user profile.

Properties

attributes

val attributes: MutableMap<String, String>

authenticationAttributes

val authenticationAttributes: MutableMap<String, String>

clientName

val clientName: String?

displayName

var displayName: String?

email

var email: String?

familyName

var familyName: String?

firstName

var firstName: String?

id

val id: String?

linkedId

val linkedId: String?

permissions

val permissions: MutableSet<String>

pictureUrl

var pictureUrl: String?

profileUrl

var profileUrl: String?

remembered

val remembered: Boolean

roles

val roles: MutableSet<String>

username

var username: String?

Functions

getAuthorities

fun getAuthorities(): MutableCollection<out <ERROR CLASS>>

getPassword

fun getPassword(): String?

getUsername

fun getUsername(): String?

isAccountNonExpired

fun isAccountNonExpired(): Boolean

isAccountNonLocked

fun isAccountNonLocked(): Boolean

isCredentialsNonExpired

fun isCredentialsNonExpired(): Boolean

isEnabled

fun isEnabled(): Boolean

setPassword

fun setPassword(password: String?): Unit

setUsername

fun setUsername(username: String?): Unit