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 IdAuditEventstatic IdBanfromWireBan(IdA1Ban fieldBan) static IdNonEmptyList<IdEmail> fromWireEmails(com.io7m.cedarbridge.runtime.api.CBList<com.io7m.cedarbridge.runtime.api.CBString> fieldEmails) static IdLoginstatic <A extends com.io7m.cedarbridge.runtime.api.CBSerializableType,B>
IdPage<B> fromWirePage(IdA1Page<A> page, Function<A, B> f) static IdPasswordfromWirePassword(IdA1Password fieldPassword) static Optional<IdPassword> fromWirePasswordOptional(com.io7m.cedarbridge.runtime.api.CBOptionType<IdA1Password> fieldPassword) static IdTimeRangestatic OffsetDateTimestatic IdA1AuditEventstatic IdA1Banstatic IdA1Loginstatic <A,B extends com.io7m.cedarbridge.runtime.api.CBSerializableType>
IdA1Page<B> toWirePage(IdPage<A> page, Function<A, B> f) static IdA1PasswordtoWirePassword(IdPassword password) static IdA1TimeRangetoWireTimeRange(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
-