core.bones.credentialBone
¶
Module Contents¶
Classes¶
A bone for storing credentials. |
- class core.bones.credentialBone.credentialBone(*args, **kwargs)¶
Bases:
viur.core.bones.stringBone
A bone for storing credentials. This is always empty if read from the database. If its saved, its ignored if its values is still empty. If its value is not empty, it will update the value in the database
- type = str.credential¶
- serialize(self, skel: SkeletonInstance, name: str, parentIndexed: bool) bool ¶
Update the value only if a new value is supplied.
- unserialize(self, valuesCache, name)¶
We’ll never read our value from the database.
- singleValueFromClient(self, value, skel, name, origData)¶