usersec

package
v2.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserLoginOperation

type UserLoginOperation struct {
	dyngo.Operation
}

UserLoginOperation type representing a call to appsec.SetUser(). It gets both created and destroyed in a single call to ExecuteUserIDOperation

func StartUserLoginOperation

func StartUserLoginOperation(ctx context.Context, args UserLoginOperationArgs) (*UserLoginOperation, *error)

func (*UserLoginOperation) Finish

func (op *UserLoginOperation) Finish(args UserLoginOperationRes)

type UserLoginOperationArgs

type UserLoginOperationArgs struct{}

UserLoginOperationArgs is the user ID operation arguments.

func (UserLoginOperationArgs) IsArgOf

type UserLoginOperationRes

type UserLoginOperationRes struct {
	UserID    string
	SessionID string
	Success   bool
}

UserLoginOperationRes is the user ID operation results.

func (UserLoginOperationRes) IsResultOf

Jump to

Keyboard shortcuts

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