user

package
v2.0.102-beta Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, params files_sdk.UserCreateParams) (user files_sdk.User, err error)

func Delete

func Delete(ctx context.Context, params files_sdk.UserDeleteParams) (err error)

func Find

func Find(ctx context.Context, params files_sdk.UserFindParams) (user files_sdk.User, err error)

func ResendWelcomeEmail

func ResendWelcomeEmail(ctx context.Context, params files_sdk.UserResendWelcomeEmailParams) (err error)

func Unlock

func Unlock(ctx context.Context, params files_sdk.UserUnlockParams) (err error)

func Update

func Update(ctx context.Context, params files_sdk.UserUpdateParams) (user files_sdk.User, err error)

func User2faReset

func User2faReset(ctx context.Context, params files_sdk.UserUser2faResetParams) (err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.UserCreateParams) (user files_sdk.User, err error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, params files_sdk.UserDeleteParams) (err error)

func (*Client) Find

func (c *Client) Find(ctx context.Context, params files_sdk.UserFindParams) (user files_sdk.User, err error)

func (*Client) List

func (c *Client) List(ctx context.Context, params files_sdk.UserListParams) (*Iter, error)

func (*Client) ResendWelcomeEmail

func (c *Client) ResendWelcomeEmail(ctx context.Context, params files_sdk.UserResendWelcomeEmailParams) (err error)

func (*Client) Unlock

func (c *Client) Unlock(ctx context.Context, params files_sdk.UserUnlockParams) (err error)

func (*Client) Update

func (c *Client) Update(ctx context.Context, params files_sdk.UserUpdateParams) (user files_sdk.User, err error)

func (*Client) User2faReset

func (c *Client) User2faReset(ctx context.Context, params files_sdk.UserUser2faResetParams) (err error)

type Iter

type Iter struct {
	*lib.Iter
}

func List

func List(ctx context.Context, params files_sdk.UserListParams) (*Iter, error)

func (*Iter) User

func (i *Iter) User() files_sdk.User

Jump to

Keyboard shortcuts

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