package identity import "git.novox.be/novox/mesh-sdk/go/delivery" // Token is what a person carries to a machine that is joining (novox/hq ADR 0004): where the broker is, what certificate to // expect there, whose signature to believe afterwards, and a one-time right to join. Its shape and its reading are mesh-sdk's // (delivery.Token), which the vault that makes it, mesh-cli that opens it and this engine that parses it share (novox/hq ADR // 0587 ยง3, issue 774); these are the names this package has always had for them. type Token = delivery.Token // TokenTunnel is the joining machine's side of its first tunnel (delivery.TokenTunnel). type TokenTunnel = delivery.TokenTunnel // ParseToken reads a token a person pasted (delivery.ParseToken). func ParseToken(encoded string) (Token, error) { return delivery.ParseToken(encoded) }