user

package
v2.0.84-beta Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

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

func Find

func Unlock

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

func User2faReset

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

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

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

func (*Client) Delete

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

func (*Client) Find

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) error

func (*Client) Unlock

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

func (*Client) Update

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

func (*Client) User2faReset

func (c *Client) User2faReset(ctx context.Context, params files_sdk.UserUser2faResetParams) 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