user

package
v5.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	C *stytch.Client
}

func (*Client) Create

func (*Client) Delete

func (c *Client) Delete(userID string) (*stytch.UsersDeleteResponse, error)

func (*Client) DeleteCryptoWallet

func (c *Client) DeleteCryptoWallet(
	cryptoWalletID string,
) (*stytch.UsersDeleteCryptoWalletResponse, error)

func (*Client) DeleteEmail

func (c *Client) DeleteEmail(emailID string) (*stytch.UsersDeleteEmailResponse, error)

func (*Client) DeletePhoneNumber

func (c *Client) DeletePhoneNumber(
	phoneID string,
) (*stytch.UsersDeletePhoneNumberResponse, error)

func (*Client) DeleteTOTP

func (c *Client) DeleteTOTP(
	totpID string,
) (*stytch.UsersDeleteTOTPResponse, error)

func (*Client) DeleteWebAuthnRegistration

func (c *Client) DeleteWebAuthnRegistration(
	webAuthnRegistration string,
) (*stytch.UsersDeleteWebAuthnRegistrationResponse, error)

func (*Client) Get

func (c *Client) Get(userID string) (*stytch.UsersGetResponse, error)

func (*Client) GetPending

func (*Client) Search

func (*Client) SearchAll

func (c *Client) SearchAll(body *stytch.UsersSearchParams) *UserSearchIterator

func (*Client) Update

func (c *Client) Update(
	userID string, body *stytch.UsersUpdateParams,
) (*stytch.UsersUpdateResponse, error)

type UserSearchIterator

type UserSearchIterator struct {
	// contains filtered or unexported fields
}

func (*UserSearchIterator) HasNext

func (i *UserSearchIterator) HasNext() bool

func (*UserSearchIterator) Next

func (i *UserSearchIterator) Next() ([]stytch.User, error)

Jump to

Keyboard shortcuts

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