Documentation ¶
Index ¶
- type Service
- func (s Service) ChangePassword(ctx context.Context, req *pbs.ChangePasswordRequest) (*pbs.ChangePasswordResponse, error)
- func (s Service) CreateAccount(ctx context.Context, req *pbs.CreateAccountRequest) (*pbs.CreateAccountResponse, error)
- func (s Service) DeleteAccount(ctx context.Context, req *pbs.DeleteAccountRequest) (*pbs.DeleteAccountResponse, error)
- func (s Service) GetAccount(ctx context.Context, req *pbs.GetAccountRequest) (*pbs.GetAccountResponse, error)
- func (s Service) ListAccounts(ctx context.Context, req *pbs.ListAccountsRequest) (*pbs.ListAccountsResponse, error)
- func (s Service) SetPassword(ctx context.Context, req *pbs.SetPasswordRequest) (*pbs.SetPasswordResponse, error)
- func (s Service) UpdateAccount(ctx context.Context, req *pbs.UpdateAccountRequest) (*pbs.UpdateAccountResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles request as described by the pbs.AccountServiceServer interface.
func NewService ¶
func NewService(repo common.PasswordAuthRepoFactory) (Service, error)
NewService returns a user service which handles user related requests to boundary.
func (Service) ChangePassword ¶
func (s Service) ChangePassword(ctx context.Context, req *pbs.ChangePasswordRequest) (*pbs.ChangePasswordResponse, error)
ChangePassword implements the interface pbs.AccountServiceServer.
func (Service) CreateAccount ¶
func (s Service) CreateAccount(ctx context.Context, req *pbs.CreateAccountRequest) (*pbs.CreateAccountResponse, error)
CreateAccount implements the interface pbs.AccountServiceServer.
func (Service) DeleteAccount ¶
func (s Service) DeleteAccount(ctx context.Context, req *pbs.DeleteAccountRequest) (*pbs.DeleteAccountResponse, error)
DeleteAccount implements the interface pbs.AccountServiceServer.
func (Service) GetAccount ¶
func (s Service) GetAccount(ctx context.Context, req *pbs.GetAccountRequest) (*pbs.GetAccountResponse, error)
GetAccount implements the interface pbs.AccountServiceServer.
func (Service) ListAccounts ¶
func (s Service) ListAccounts(ctx context.Context, req *pbs.ListAccountsRequest) (*pbs.ListAccountsResponse, error)
ListAccounts implements the interface pbs.AccountServiceServer.
func (Service) SetPassword ¶
func (s Service) SetPassword(ctx context.Context, req *pbs.SetPasswordRequest) (*pbs.SetPasswordResponse, error)
SetPassword implements the interface pbs.AccountServiceServer.
func (Service) UpdateAccount ¶
func (s Service) UpdateAccount(ctx context.Context, req *pbs.UpdateAccountRequest) (*pbs.UpdateAccountResponse, error)
UpdateAccount implements the interface pbs.AccountServiceServer.
Click to show internal directories.
Click to hide internal directories.