usp_duo

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuoAdapter

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

func NewDuoAdapter

func NewDuoAdapter(conf DuoConfig) (*DuoAdapter, chan struct{}, error)

func (*DuoAdapter) Close

func (a *DuoAdapter) Close() error

type DuoConfig

type DuoConfig struct {
	ClientOptions  uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	IntegrationKey string                  `json:"integration_key" yaml:"integration_key"`
	SecretKey      string                  `json:"secret_key" yaml:"secret_key"`
	APIHostname    string                  `json:"api_hostname" yaml:"api_hostname"`
}

func (*DuoConfig) Validate

func (c *DuoConfig) Validate() error

Jump to

Keyboard shortcuts

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