ShareToken

A share token for a Ouisync repository.

Tokens are used to share repositories between devices. Create a token on the device to share the repo from, send the token to the other device and create a repository on it, passing the token in the shareToken param.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun accessMode(): AccessMode

Returns the access mode this share token grants.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
suspend fun infoHash(): String

Returns the Bittorrent DHT info-hash of the repository.

Link copied to clipboard
suspend fun suggestedName(): String

Returns the suggested name for the repository.

Link copied to clipboard
open override fun toString(): String