Documentation
¶
Index ¶
- func NewCliAuthenticationProvider(errorReporter error_reporting.ErrorReporter) vulnmap.AuthenticationProvider
- type CliAuthenticationProvider
- func (a *CliAuthenticationProvider) AuthURL(_ context.Context) string
- func (a *CliAuthenticationProvider) Authenticate(ctx context.Context) (string, error)
- func (a *CliAuthenticationProvider) ClearAuthentication(ctx context.Context) error
- func (a *CliAuthenticationProvider) GetCheckAuthenticationFunction() vulnmap.AuthenticationFunction
- func (a *CliAuthenticationProvider) SetAuthURL(url string)
- type Initializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCliAuthenticationProvider ¶
func NewCliAuthenticationProvider(errorReporter error_reporting.ErrorReporter) vulnmap.AuthenticationProvider
Types ¶
type CliAuthenticationProvider ¶
type CliAuthenticationProvider struct {
// contains filtered or unexported fields
}
func (*CliAuthenticationProvider) AuthURL ¶
func (a *CliAuthenticationProvider) AuthURL(_ context.Context) string
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() vulnmap.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 vulnmap.AuthenticationService, errorReporter error_reporting.ErrorReporter, analytics ux.Analytics, notifier noti.Notifier, ) *Initializer
func (*Initializer) Init ¶
func (i *Initializer) Init() error
Click to show internal directories.
Click to hide internal directories.