Documentation ¶
Index ¶
- func AddPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, ...) error
- func BulkLookupPhoneNumbers(mctx libkb.MetaContext, phoneNumberContacts []keybase1.RawPhoneNumber, ...) ([]keybase1.PhoneNumberLookupResult, error)
- func DeletePhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber) error
- func GetPhoneNumbers(mctx libkb.MetaContext) ([]keybase1.UserPhoneNumber, error)
- func SetVisibilityAllPhoneNumber(mctx libkb.MetaContext, visibility keybase1.IdentityVisibility) error
- func SetVisibilityPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, ...) error
- func VerifyPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, code string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPhoneNumber ¶
func AddPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, visibility keybase1.IdentityVisibility) error
AddPhoneNumber calls API to add phone number to currently logged in account.
func BulkLookupPhoneNumbers ¶
func BulkLookupPhoneNumbers(mctx libkb.MetaContext, phoneNumberContacts []keybase1.RawPhoneNumber, regionCodes []keybase1.RegionCode, userRegionCode *keybase1.RegionCode) ([]keybase1.PhoneNumberLookupResult, error)
func DeletePhoneNumber ¶
func DeletePhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber) error
func GetPhoneNumbers ¶
func GetPhoneNumbers(mctx libkb.MetaContext) ([]keybase1.UserPhoneNumber, error)
GetPhoneNumbers calls API to fetch list of phone numbers attached to currently logged user.
func SetVisibilityAllPhoneNumber ¶
func SetVisibilityAllPhoneNumber(mctx libkb.MetaContext, visibility keybase1.IdentityVisibility) error
func SetVisibilityPhoneNumber ¶
func SetVisibilityPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, visibility keybase1.IdentityVisibility) error
func VerifyPhoneNumber ¶
func VerifyPhoneNumber(mctx libkb.MetaContext, phoneNumber keybase1.PhoneNumber, code string) error
VerifyPhoneNumber calls API to verify previously added phone number using verification code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.