Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptySessionToken = errors.New("empty session token")
View Source
var ErrPasswordExpired = errors.New("password expired")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Creds Creds // contains filtered or unexported fields }
Client methods (besides ReAuth()) will automatically auth if necessary
func (*Client) AuthenticateCreds ¶
func (*Client) Do ¶
Do is analogous to http.Client#Do, but handles auth req.URL should reference a path relative to c.baseURL
type ErrInvalidAuthState ¶
type ErrInvalidAuthState struct {
// contains filtered or unexported fields
}
func (*ErrInvalidAuthState) Error ¶
func (e *ErrInvalidAuthState) Error() string
type ErrNoMatchingMFADevices ¶
type ErrNoMatchingMFADevices struct{}
func (*ErrNoMatchingMFADevices) Error ¶
func (e *ErrNoMatchingMFADevices) Error() string
type ErrOktaErrorResponse ¶
type ErrOktaErrorResponse struct {
marshal.ErrorResponse
}
func (*ErrOktaErrorResponse) Error ¶
func (e *ErrOktaErrorResponse) Error() string
type MFAConfigDUO ¶
type MFAConfigDUO struct {
DeviceName string
}
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
marshal
types and constants for (un)marshalling Okta API
|
types and constants for (un)marshalling Okta API |
mfa/internal/duoclient
TODO refactor?
|
TODO refactor? |
Click to show internal directories.
Click to hide internal directories.