auth

package
v0.0.0-...-df5614f Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCliAuthenticationProvider

func NewCliAuthenticationProvider(errorReporter error_reporting.ErrorReporter) khulnasoft.AuthenticationProvider

Types

type CliAuthenticationProvider

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

func (*CliAuthenticationProvider) AuthURL

func (*CliAuthenticationProvider) Authenticate

func (a *CliAuthenticationProvider) Authenticate(ctx context.Context) (string, error)

func (*CliAuthenticationProvider) ClearAuthentication

func (a *CliAuthenticationProvider) ClearAuthentication(ctx context.Context) error

func (*CliAuthenticationProvider) GetCheckAuthenticationFunction

func (a *CliAuthenticationProvider) GetCheckAuthenticationFunction() khulnasoft.AuthenticationFunction

func (*CliAuthenticationProvider) SetAuthURL

func (a *CliAuthenticationProvider) SetAuthURL(url string)

type Initializer

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

func NewInitializer

func NewInitializer(
	authenticator khulnasoft.AuthenticationService,
	errorReporter error_reporting.ErrorReporter,
	analytics ux.Analytics,
	notifier noti.Notifier,
) *Initializer

func (*Initializer) Init

func (i *Initializer) Init() error

Jump to

Keyboard shortcuts

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