Class IdUCB1ValidationGeneral
java.lang.Object
com.io7m.idstore.protocol.user.cb.internal.IdUCB1ValidationGeneral
Functions to translate between the core command set and the User v1
Cedarbridge encoding command set.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdNonEmptyList
<IdEmail> fromWireEmails
(com.io7m.cedarbridge.runtime.api.CBList<com.io7m.cedarbridge.runtime.api.CBString> fieldEmails) static IdPassword
fromWirePassword
(IdU1Password fieldPassword) static OffsetDateTime
static IdUser
fromWireUser
(IdU1User user) static IdU1Password
toWirePassword
(IdPassword password) static IdU1TimestampUTC
static IdU1User
toWireUser
(IdUser user)
-
Method Details
-
fromWireEmails
public static IdNonEmptyList<IdEmail> fromWireEmails(com.io7m.cedarbridge.runtime.api.CBList<com.io7m.cedarbridge.runtime.api.CBString> fieldEmails) throws IdProtocolException - Throws:
IdProtocolException
-
fromWirePassword
- Throws:
IdPasswordException
-
fromWireTimestamp
-
toWireTimestamp
-
toWirePassword
-
toWireUser
-
fromWireUser
-