Class IdACB1ValidationGeneral
java.lang.Object
com.io7m.idstore.protocol.admin.cb.internal.IdACB1ValidationGeneral
Functions to translate between the core command set and the Admin v1
Cedarbridge encoding command set.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdAuditEvent
static IdBan
fromWireBan
(IdA1Ban fieldBan) static IdNonEmptyList
<IdEmail> fromWireEmails
(com.io7m.cedarbridge.runtime.api.CBList<com.io7m.cedarbridge.runtime.api.CBString> fieldEmails) static IdLogin
static <A extends com.io7m.cedarbridge.runtime.api.CBSerializableType,
B>
IdPage<B> fromWirePage
(IdA1Page<A> page, Function<A, B> f) static IdPassword
fromWirePassword
(IdA1Password fieldPassword) static Optional
<IdPassword> fromWirePasswordOptional
(com.io7m.cedarbridge.runtime.api.CBOptionType<IdA1Password> fieldPassword) static IdTimeRange
static OffsetDateTime
static IdA1AuditEvent
static IdA1Ban
static IdA1Login
static <A,
B extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
IdA1Page<B> toWirePage
(IdPage<A> page, Function<A, B> f) static IdA1Password
toWirePassword
(IdPassword password) static IdA1TimeRange
toWireTimeRange
(IdTimeRange timeRange) static IdA1TimestampUTC
-
Method Details
-
toWirePage
-
toWireBan
-
toWireTimestamp
-
toWireTimeRange
-
toWirePassword
-
fromWirePage
-
fromWireEmails
public static IdNonEmptyList<IdEmail> fromWireEmails(com.io7m.cedarbridge.runtime.api.CBList<com.io7m.cedarbridge.runtime.api.CBString> fieldEmails) throws IdProtocolException - Throws:
IdProtocolException
-
fromWirePasswordOptional
public static Optional<IdPassword> fromWirePasswordOptional(com.io7m.cedarbridge.runtime.api.CBOptionType<IdA1Password> fieldPassword) throws IdPasswordException - Throws:
IdPasswordException
-
fromWireTimeRange
-
fromWirePassword
- Throws:
IdPasswordException
-
fromWireBan
-
fromWireTimestamp
-
toWireAuditEvent
-
fromWireLogin
-
fromWireAuditEvent
-
toWireLogin
-