Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrMFATokenNotANumber = "MFA token should be a number" ErrMFATokenIncorrectLength = "MFA token should be six digits long" )
Variables ¶
This section is empty.
Functions ¶
func ValidateMFATokenFormat ¶
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func New ¶
func New(stsClient *sts.STS, fileCoordinator *file_coordinator.Coordinator) (*Authenticator, error)
func (*Authenticator) AuthenticateUsingMFA ¶
func (a *Authenticator) AuthenticateUsingMFA(mfaToken string) error
Click to show internal directories.
Click to hide internal directories.