authmethods

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MPL-2.0 Imports: 37 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 = make(map[subtypes.Subtype]action.ActionSet)

	// 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.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, oidcRepoFn common.OidcAuthRepoFactory, iamRepoFn common.IamRepoFactory, atRepoFn common.AuthTokenRepoFactory, opt ...handlers.Option) (Service, error)

NewService returns a auth method service which handles auth method related requests to boundary.

func (Service) Authenticate

Authenticate implements the interface pbs.AuthenticationServiceServer.

func (Service) ChangeState

ChangeState implements the interface pbs.AuthMethodServiceServer.

func (Service) ConvertInternalAuthTokenToApiAuthToken

func (s Service) ConvertInternalAuthTokenToApiAuthToken(ctx context.Context, tok *authtoken.AuthToken) (*pba.AuthToken, error)

func (Service) CreateAuthMethod

CreateAuthMethod implements the interface pbs.AuthMethodServiceServer.

func (Service) DeleteAuthMethod

DeleteAuthMethod implements the interface pbs.AuthMethodServiceServer.

func (Service) GetAuthMethod

GetAuthMethod implements the interface pbs.AuthMethodServiceServer.

func (Service) ListAuthMethods

ListAuthMethods implements the interface pbs.AuthMethodServiceServer.

func (Service) UpdateAuthMethod

UpdateAuthMethod implements the interface pbs.AuthMethodServiceServer.

Jump to

Keyboard shortcuts

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