Documentation ¶
Index ¶
- func FollowUser(mctx libkb.MetaContext, arg keybase1.Identify3FollowUserArg) (err error)
- func Identify3(mctx libkb.MetaContext, ui3 keybase1.Identify3UiInterface, ...) (err error)
- func IgnoreUser(mctx libkb.MetaContext, guiID keybase1.Identify3GUIID) (err error)
- type UIAdapter
- func NewUIAdapter(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface) (*UIAdapter, error)
- func NewUIAdapterMakeSession(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface, ...) (ret *UIAdapter, err error)
- func NewUIAdapterMakeSessionForUpcall(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface) (ret *UIAdapter, err error)
- func NewUIAdapterWithSession(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface, ...) (*UIAdapter, error)
- func (i *UIAdapter) Cancel() error
- func (i *UIAdapter) Confirm(*keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
- func (i *UIAdapter) Dismiss(string, keybase1.DismissReason) error
- func (i *UIAdapter) DisplayCryptocurrency(cc keybase1.Cryptocurrency) error
- func (i *UIAdapter) DisplayKey(key keybase1.IdentifyKey) error
- func (i *UIAdapter) DisplayStellarAccount(s keybase1.StellarAccount) error
- func (i *UIAdapter) DisplayTLFCreateWithInvite(keybase1.DisplayTLFCreateWithInviteArg) error
- func (i *UIAdapter) DisplayTrackStatement(string) error
- func (i *UIAdapter) DisplayUserCard(card keybase1.UserCard) error
- func (i *UIAdapter) Finish() error
- func (i *UIAdapter) FinishSocialProofCheck(proof keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
- func (i *UIAdapter) FinishWebProofCheck(proof keybase1.RemoteProof, lcr keybase1.LinkCheckResult) error
- func (i *UIAdapter) LaunchNetworkChecks(id *keybase1.Identity, user *keybase1.User) error
- func (i *UIAdapter) ReportLastTrack(track *keybase1.TrackSummary) error
- func (i *UIAdapter) ReportTrackToken(token keybase1.TrackToken) error
- func (i *UIAdapter) Start(user string, reason keybase1.IdentifyReason, force bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FollowUser ¶
func FollowUser(mctx libkb.MetaContext, arg keybase1.Identify3FollowUserArg) (err error)
func Identify3 ¶
func Identify3(mctx libkb.MetaContext, ui3 keybase1.Identify3UiInterface, arg keybase1.Identify3Arg) (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 NewUIAdapter ¶
func NewUIAdapter(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface) (*UIAdapter, error)
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 NewUIAdapterWithSession ¶
func NewUIAdapterWithSession(mctx libkb.MetaContext, ui keybase1.Identify3UiInterface, sess *libkb.Identify3Session) (*UIAdapter, error)
func (*UIAdapter) Confirm ¶
func (i *UIAdapter) Confirm(*keybase1.IdentifyOutcome) (keybase1.ConfirmResult, error)
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 (*UIAdapter) DisplayUserCard ¶
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 (*UIAdapter) ReportLastTrack ¶
func (i *UIAdapter) ReportLastTrack(track *keybase1.TrackSummary) error
func (*UIAdapter) ReportTrackToken ¶
func (i *UIAdapter) ReportTrackToken(token keybase1.TrackToken) error
Click to show internal directories.
Click to hide internal directories.