login

package
v4.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceAuthResponse

type DeviceAuthResponse = auth.DeviceAuthResponse

DeviceAuthResponse represents the response from a device authentication request.

type Usecase

type Usecase struct {
	// contains filtered or unexported fields
}

Usecase is the services to handle login authentication.

func NewUsecase

func NewUsecase(
	tokenService auth.TokenService,
	authService auth.AuthenticateService,
	hostingService hosting.HostingService,
) *Usecase

NewUsecase creates a new Usecase instance with the provided services.

func (*Usecase) Execute

func (uc *Usecase) Execute(ctx context.Context, host string, verify Verify) error

Execute performs the authentication process.

type Verify

type Verify = auth.Verify

Verify is a function type to verify the authentication response.

Jump to

Keyboard shortcuts

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