Documentation ¶
Index ¶
- type Service
- func (s Service) Authenticate(ctx context.Context, req *pbs.AuthenticateRequest) (*pbs.AuthenticateResponse, error)
- func (s Service) CreateAuthMethod(ctx context.Context, req *pbs.CreateAuthMethodRequest) (*pbs.CreateAuthMethodResponse, error)
- func (s Service) DeleteAuthMethod(ctx context.Context, req *pbs.DeleteAuthMethodRequest) (*pbs.DeleteAuthMethodResponse, error)
- func (s Service) GetAuthMethod(ctx context.Context, req *pbs.GetAuthMethodRequest) (*pbs.GetAuthMethodResponse, error)
- func (s Service) ListAuthMethods(ctx context.Context, req *pbs.ListAuthMethodsRequest) (*pbs.ListAuthMethodsResponse, error)
- func (s Service) UpdateAuthMethod(ctx context.Context, req *pbs.UpdateAuthMethodRequest) (*pbs.UpdateAuthMethodResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pbs.UnimplementedAuthMethodServiceServer // contains filtered or unexported fields }
Service handles request as described by the pbs.AuthMethodServiceServer interface.
func NewService ¶
func NewService(kms *kms.Kms, pwRepoFn common.PasswordAuthRepoFactory, iamRepoFn common.IamRepoFactory, atRepoFn common.AuthTokenRepoFactory) (Service, error)
NewService returns a auth method service which handles auth method related requests to boundary.
func (Service) Authenticate ¶
func (s Service) Authenticate(ctx context.Context, req *pbs.AuthenticateRequest) (*pbs.AuthenticateResponse, error)
Authenticate implements the interface pbs.AuthenticationServiceServer.
func (Service) CreateAuthMethod ¶
func (s Service) CreateAuthMethod(ctx context.Context, req *pbs.CreateAuthMethodRequest) (*pbs.CreateAuthMethodResponse, error)
CreateAuthMethod implements the interface pbs.AuthMethodServiceServer.
func (Service) DeleteAuthMethod ¶
func (s Service) DeleteAuthMethod(ctx context.Context, req *pbs.DeleteAuthMethodRequest) (*pbs.DeleteAuthMethodResponse, error)
DeleteAuthMethod implements the interface pbs.AuthMethodServiceServer.
func (Service) GetAuthMethod ¶
func (s Service) GetAuthMethod(ctx context.Context, req *pbs.GetAuthMethodRequest) (*pbs.GetAuthMethodResponse, error)
GetAuthMethod implements the interface pbs.AuthMethodServiceServer.
func (Service) ListAuthMethods ¶
func (s Service) ListAuthMethods(ctx context.Context, req *pbs.ListAuthMethodsRequest) (*pbs.ListAuthMethodsResponse, error)
ListAuthMethods implements the interface pbs.AuthMethodServiceServer.
func (Service) UpdateAuthMethod ¶
func (s Service) UpdateAuthMethod(ctx context.Context, req *pbs.UpdateAuthMethodRequest) (*pbs.UpdateAuthMethodResponse, error)
UpdateAuthMethod implements the interface pbs.AuthMethodServiceServer.
Click to show internal directories.
Click to hide internal directories.