MCPcopy Create free account
hub / github.com/chatmail/core / authcode

Method authcode

src/securejoin/qrinvite.rs:80–86  ·  view source on GitHub ↗

The `AUTH` code of the setup-contact/secure-join protocol.

(&self)

Source from the content-addressed store, hash-verified

78
79 /// The `AUTH` code of the setup-contact/secure-join protocol.
80 pub fn authcode(&self) -> &str {
81 match self {
82 Self::Contact { authcode, .. }
83 | Self::Group { authcode, .. }
84 | Self::Broadcast { authcode, .. } => authcode,
85 }
86 }
87
88 pub fn is_v3(&self) -> bool {
89 match *self {

Callers 2

send_handshake_messageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected