Xmtp_MessageApi_V1_Token
public struct Xmtp_MessageApi_V1_Token
extension Xmtp_MessageApi_V1_Token: @unchecked Sendable
extension Xmtp_MessageApi_V1_Token: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Token is used by clients to prove to the nodes that they are serving a specific wallet.
-
identity key signed by a wallet
Declaration
Swift
public var identityKey: Xmtp_MessageContents_PublicKey { get set }
-
Returns true if
identityKey
has been explicitly set.Declaration
Swift
public var hasIdentityKey: Bool { get }
-
Clears the value of
identityKey
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearIdentityKey()
-
encoded bytes of AuthData
Declaration
Swift
public var authDataBytes: Data
-
identity key signature of AuthData bytes
Declaration
Swift
public var authDataSignature: Xmtp_MessageContents_Signature { get set }
-
Returns true if
authDataSignature
has been explicitly set.Declaration
Swift
public var hasAuthDataSignature: Bool { get }
-
Clears the value of
authDataSignature
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearAuthDataSignature()
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
Declaration
Swift
public init()
-
Declaration
Swift
public static let protoMessageName: String
-
Declaration
Swift
public static let _protobuf_nameMap: SwiftProtobuf._NameMap
-
Declaration
Swift
public mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
-
Declaration
Swift
public func traverse<V>(visitor: inout V) throws where V : Visitor
-
Declaration
Swift
public static func == (lhs: Xmtp_MessageApi_V1_Token, rhs: Xmtp_MessageApi_V1_Token) -> Bool