Module value

Module value 

Source
Expand description

Inside an entry, the key-value pairs are stored in these Value types. The components of the Value module allow storage and transformation of various types of input into strongly typed values, allows their comparison, filtering and more. It also has the code for serialising these into a form for the backend that can be persistent into the Backend.

Structs§

Address
Per https://openid.net/specs/openid-connect-core-1_0.html#AddressClaim
ApiToken
CredUpdateSessionPerms
Oauth2Session
Session

Enums§

ApiTokenScope
AuthType
CredentialType
IndexType
IntentTokenState
KeyStatus
KeyUsage
OauthClaimMapJoin
PartialValue
A partial value is a key or key subset that can be used to match for equality or substring against a complete Value within a set in an Entry.
SessionExtMetadata
SessionScope
SessionState
SyntaxType
Value
A value is a complete unit of data for an attribute. It is made up of a PartialValue, which is used for selection, filtering, searching, matching etc. It also contains supplemental data which may be stored inside of the Value, such as credential secrets, blobs etc.

Statics§

DISALLOWED_NAMES
EXTRACT_VAL_DN
HEXSTR_RE
Only lowercase+numbers, with limited chars.
INAME_RE
Only lowercase+numbers, with limited chars.
LABEL_RE
Only alpha-numeric with limited special chars and space
NSUNIQUEID_RE
OAUTHSCOPE_RE
Must not contain whitespace.
OAUTH_CLAIMNAME_RE
Must not contain whitespace. Allows “abcd”, “abcd:efgh”, but “:” and “-” need to be separating groups of characters, and are not able to be leading or trailing.
SINGLELINE_RE
SPN_RE
UNICODE_CONTROL_RE
VALIDATE_EMAIL_RE
Per https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address this regex validates for valid emails.