Class QueryAuth
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.QueryAuth
-
public class QueryAuth extends Object
Query auth request.
-
-
Field Summary
Fields Modifier and Type Field Description private List<PersistedDataUnit>
authChain
Required.private List<String>
missing
A list of event IDs that the sender thinks the receiver is missing.private Map<String,RejectReason>
rejects
The set of events that the sending server has rejected from the provided auth chain.
-
Constructor Summary
Constructors Constructor Description QueryAuth()
-
Method Summary
Modifier and Type Method Description List<PersistedDataUnit>
getAuthChain()
List<String>
getMissing()
Map<String,RejectReason>
getRejects()
void
setAuthChain(List<PersistedDataUnit> authChain)
void
setMissing(List<String> missing)
void
setRejects(Map<String,RejectReason> rejects)
-
-
-
Field Detail
-
authChain
private List<PersistedDataUnit> authChain
Required. The auth chain (the "remote auth"). Note that events have a different format depending on the room version - check the room version specification for precise event formats.
-
missing
private List<String> missing
A list of event IDs that the sender thinks the receiver is missing.
-
rejects
private Map<String,RejectReason> rejects
The set of events that the sending server has rejected from the provided auth chain.
The string key is the event ID that was rejected.
-
-
Method Detail
-
getAuthChain
public List<PersistedDataUnit> getAuthChain()
-
setAuthChain
public void setAuthChain(List<PersistedDataUnit> authChain)
-
getRejects
public Map<String,RejectReason> getRejects()
-
setRejects
public void setRejects(Map<String,RejectReason> rejects)
-
-