Module Contents



A bone for storing credentials.

class core.bones.credential.CredentialBone(**kwargs)

Bases: viur.core.bones.string.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(skel: SkeletonInstance, name: str, parentIndexed: bool) bool

Update the value only if a new value is supplied.

unserialize(valuesCache, name)

We’ll never read our value from the database.

singleValueFromClient(value, skel, name, origData)