v1_auth

package
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveParams

type ActiveParams struct {
	AuthLookupParams
}

type AuthLookupParams

type AuthLookupParams struct {
	ID       string
	Username string
}

func (AuthLookupParams) IsSet

func (p AuthLookupParams) IsSet() bool

func (AuthLookupParams) Validate

func (p AuthLookupParams) Validate() (err error)

type Client

func (Client) Create

func (c Client) Create(ctx context.Context, params *CreateParams) error

func (Client) List

func (c Client) List(ctx context.Context, params *ListParams) error

func (Client) Remove

func (c Client) Remove(ctx context.Context, params *RemoveParams) error

func (Client) SetActive

func (c Client) SetActive(ctx context.Context, params *ActiveParams, active bool) error

func (Client) SetPassword

func (c Client) SetPassword(ctx context.Context, params *SetPasswordParams) error

type CreateParams

type CreateParams struct {
	clients.OrgParams
	Desc        string
	Username    string
	Password    string
	NoPassword  bool
	ReadBucket  []string
	WriteBucket []string
}

type ListParams

type ListParams struct {
	clients.OrgParams
	AuthLookupParams
	User   string
	UserID string
}

type RemoveParams

type RemoveParams struct {
	AuthLookupParams
}

type SetPasswordParams

type SetPasswordParams struct {
	AuthLookupParams
	Password string
}

Jump to

Keyboard shortcuts

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