accounts

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// IdActions contains the set of actions that can be performed on
	// individual resources
	IdActions = map[subtypes.Subtype]action.ActionSet{
		password.Subtype: {
			action.NoOp,
			action.Read,
			action.Update,
			action.Delete,
			action.SetPassword,
			action.ChangePassword,
		},
		oidc.Subtype: {
			action.NoOp,
			action.Read,
			action.Update,
			action.Delete,
		},
	}

	// CollectionActions contains the set of actions that can be performed on
	// this collection
	CollectionActions = action.ActionSet{
		action.Create,
		action.List,
	}
)

Functions

This section is empty.

Types

type Service

type Service struct {
	pbs.UnsafeAccountServiceServer
	// contains filtered or unexported fields
}

Service handles request as described by the pbs.AccountServiceServer interface.

func NewService

func NewService(pwRepo common.PasswordAuthRepoFactory, oidcRepo common.OidcAuthRepoFactory) (Service, error)

NewService returns a account service which handles account related requests to boundary.

func (Service) ChangePassword

ChangePassword implements the interface pbs.AccountServiceServer.

func (Service) CreateAccount

CreateAccount implements the interface pbs.AccountServiceServer.

func (Service) DeleteAccount

DeleteAccount implements the interface pbs.AccountServiceServer.

func (Service) GetAccount

GetAccount implements the interface pbs.AccountServiceServer.

func (Service) ListAccounts

ListAccounts implements the interface pbs.AccountServiceServer.

func (Service) SetPassword

SetPassword implements the interface pbs.AccountServiceServer.

func (Service) UpdateAccount

UpdateAccount implements the interface pbs.AccountServiceServer.

Jump to

Keyboard shortcuts

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