user

package
v3.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 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) 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 added in v3.9.0

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

func (*Client) DeleteWebAuthnRegistration added in v3.7.0

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 added in v3.8.0

func (*Client) SearchAll added in v3.8.0

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 added in v3.8.0

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

func (*UserSearchIterator) HasNext added in v3.8.0

func (i *UserSearchIterator) HasNext() bool

func (*UserSearchIterator) Next added in v3.8.0

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