identify3

package
v2.13.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2019 License: BSD-3-Clause, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FollowUser

func FollowUser(mctx libkb.MetaContext, arg keybase1.Identify3FollowUserArg) (err error)

func IgnoreUser

func IgnoreUser(mctx libkb.MetaContext, guiID keybase1.Identify3GUIID) (err error)

Types

type UIAdapter

type UIAdapter struct {
	sync.Mutex
	libkb.MetaContextified
	// contains filtered or unexported fields
}

UIAdapter converts between the Identify2 UI that Identify2 engine expects, and the Identify3UI interface that the frontend is soon to implement. It's going to maintain the state machine that was previously implemented in JS.

func NewUIAdapterMakeSession

func NewUIAdapterMakeSession(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface, guiid keybase1.Identify3GUIID) (ret *UIAdapter, err error)

func NewUIAdapterMakeSessionForUpcall

func NewUIAdapterMakeSessionForUpcall(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface) (ret *UIAdapter, err error)

func (*UIAdapter) Cancel

func (i *UIAdapter) Cancel() error

func (*UIAdapter) Confirm

func (*UIAdapter) Dismiss

func (*UIAdapter) DisplayCryptocurrency

func (i *UIAdapter) DisplayCryptocurrency(cc keybase1.Cryptocurrency) error

func (*UIAdapter) DisplayKey

func (i *UIAdapter) DisplayKey(key keybase1.IdentifyKey) error

func (*UIAdapter) DisplayStellarAccount

func (i *UIAdapter) DisplayStellarAccount(s keybase1.StellarAccount) error

func (*UIAdapter) DisplayTLFCreateWithInvite

func (i *UIAdapter) DisplayTLFCreateWithInvite(keybase1.DisplayTLFCreateWithInviteArg) error

func (*UIAdapter) DisplayTrackStatement

func (i *UIAdapter) DisplayTrackStatement(string) error

func (*UIAdapter) DisplayUserCard

func (i *UIAdapter) DisplayUserCard(card keybase1.UserCard) error

func (*UIAdapter) Finish

func (i *UIAdapter) Finish() error

func (*UIAdapter) FinishSocialProofCheck

func (i *UIAdapter) FinishSocialProofCheck(proof keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error

func (*UIAdapter) FinishWebProofCheck

func (i *UIAdapter) FinishWebProofCheck(proof keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error

func (*UIAdapter) LaunchNetworkChecks

func (i *UIAdapter) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User) error

func (*UIAdapter) ReportLastTrack

func (i *UIAdapter) ReportLastTrack(track *keybase1.TrackSummary) error

func (*UIAdapter) ReportTrackToken

func (i *UIAdapter) ReportTrackToken(token keybase1.TrackToken) error

func (*UIAdapter) Start

func (i *UIAdapter) Start(user string, reason keybase1.IdentifyReason, force bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL