Password

@Entity
open class Password : EquinoxItem

The Password class is used to represent a password stored in the Glider's system

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to init the Password class
constructor(    id: String,     creationDate: Long,     tail: String,     password: String,     scopes: String,     type: PasswordType,     configuration: PasswordConfiguration,     user: GliderUser)
Constructor to init the Password class
constructor(    id: String,     creationDate: Long,     tail: String,     password: String,     scopes: String,     type: PasswordType,     events: List<PasswordEvent>,     configuration: PasswordConfiguration,     user: GliderUser)
Constructor to init the Password class

Properties

Link copied to clipboard
configuration the configuration used to generate the password
Link copied to clipboard
creationDate the date when the password has been created
Link copied to clipboard
Link copied to clipboard
events the events related to the lifecycle of the password
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
open val password: String
password the password value
Link copied to clipboard
open val scopes: String
scopes the scopes of the password
Link copied to clipboard
open val tail: String
tail the tail of the password
Link copied to clipboard
protected val timeFormatter: TimeFormatter
Link copied to clipboard
type the type of the password
Link copied to clipboard
user the user owner of the password

Functions

Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun scopesMatch(keywords: Set<String>): Boolean
Method used to check whether the filter keywords match with any scopes of the password
Link copied to clipboard
open fun setDecryptedData(decryptedData: Triple<String, String, String>)
Method used to set the decrypted data of the password
Link copied to clipboard
open fun toString(): String