identify3

package
v5.5.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 8 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
	// contains filtered or unexported fields
}

UIAdapter converts between the Identify2 UI that Identify2 engine expects, and the Identify3UI interface that the frontend implements. It's maintains 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(mctx libkb.MetaContext) error

func (*UIAdapter) Dismiss

func (*UIAdapter) DisplayCryptocurrency

func (i *UIAdapter) DisplayCryptocurrency(mctx libkb.MetaContext, cc keybase1.Cryptocurrency) error

func (*UIAdapter) DisplayKey

func (i *UIAdapter) DisplayKey(mctx libkb.MetaContext, key keybase1.IdentifyKey) error

func (*UIAdapter) DisplayStellarAccount

func (i *UIAdapter) DisplayStellarAccount(mctx libkb.MetaContext, s keybase1.StellarAccount) error

func (*UIAdapter) DisplayTLFCreateWithInvite

func (i *UIAdapter) DisplayTLFCreateWithInvite(libkb.MetaContext, keybase1.DisplayTLFCreateWithInviteArg) error

func (*UIAdapter) DisplayTrackStatement

func (i *UIAdapter) DisplayTrackStatement(libkb.MetaContext, string) error

func (*UIAdapter) DisplayUserCard

func (i *UIAdapter) DisplayUserCard(mctx libkb.MetaContext, card keybase1.UserCard) error

func (*UIAdapter) Finish

func (i *UIAdapter) Finish(mctx libkb.MetaContext) error

func (*UIAdapter) FinishSocialProofCheck

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

func (*UIAdapter) FinishWebProofCheck

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

func (*UIAdapter) LaunchNetworkChecks

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

func (*UIAdapter) ReportLastTrack

func (i *UIAdapter) ReportLastTrack(mctx libkb.MetaContext, track *keybase1.TrackSummary) error

func (*UIAdapter) ReportTrackToken

func (i *UIAdapter) ReportTrackToken(mctx libkb.MetaContext, token keybase1.TrackToken) error

func (*UIAdapter) Start

func (i *UIAdapter) Start(mctx libkb.MetaContext, 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