Class WebAuthnStoreReadResult.Available
java.lang.Object
com.revetsec.webauthn.WebAuthnStoreReadResult.Available
- All Implemented Interfaces:
WebAuthnStoreReadResult
- Enclosing interface:
WebAuthnStoreReadResult
@Immutable
public static final class WebAuthnStoreReadResult.Available
extends Object
implements WebAuthnStoreReadResult
A complete versioned snapshot.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface WebAuthnStoreReadResult
WebAuthnStoreReadResult.Available, WebAuthnStoreReadResult.Fenced, WebAuthnStoreReadResult.UnavailableModifier and TypeInterfaceDescriptionstatic final classA complete versioned snapshot.static final classThe requested state incarnation is incompatible with current admission.static final classNo authoritative read was available. -
Method Summary
Modifier and TypeMethodDescriptionfromSnapshot(@NonNull WebAuthnStoreSnapshot snapshot) Wraps a complete snapshot.Returns the complete snapshot.toString()Redacts all observations.
-
Method Details
-
fromSnapshot
public static @NonNull WebAuthnStoreReadResult.Available fromSnapshot(@NonNull WebAuthnStoreSnapshot snapshot) Wraps a complete snapshot.- Parameters:
snapshot- the complete read set- Returns:
- the available result
- Since:
- 1.0.0
-
getSnapshot
Returns the complete snapshot.- Returns:
- the read set
- Since:
- 1.0.0
-
toString
-