@refinio/one.models
    Preparing search index...

    Implements

    Index

    Constructors

    Methods

    • Creates a token from an invitation

      Returns Promise<string>

      the token

    • Tries to pair with the given invitation link.

      Parameters

      • invitationToken: string

        The token to pair with.

      • maxTries: number = 4

        The maximum number of tries to pair with the given invitation link.

      • setError: (error: Error) => void = console.error

        The function to set the error.

      Returns Promise<boolean>

      True if the pairing was successful, false otherwise.