load Password Entity

private open fun loadPasswordEntity(    token: String,     tail: String,     scopes: String,     password: String,     currentDate: Long,     type: PasswordType,     configuration: PasswordConfiguration,     user: GliderUser): Password

Method to load a Password entity with the password data

Return

the password entity as Password

Parameters

token

The token of the user

tail

The tail of the password

scopes

The scopes of the password

password

The value of the password

currentDate

The date when the password has been generated or inserted

type

The type of the password

configuration

The configuration of the password if is a GENERATED password

user

The user owner of the password

Throws

when an error occurred during the password loading