Documentation
¶
Index ¶
- type APIAuthenticationCompleteDeviceRegistrationWithTOTPInput
- type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputDevice
- type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputVerification
- type APIAuthenticationCompleteDeviceRegistrationWithTOTPOutput
- type APIAuthenticationCompleteDeviceRegistrationWithTOTPOutputData
- type APIAuthenticationCompleteDeviceRegistrationWithTokenInput
- type APIAuthenticationCompleteDeviceRegistrationWithTokenInputDevice
- type APIAuthenticationCompleteDeviceRegistrationWithTokenInputVerification
- type APIAuthenticationCompleteDeviceRegistrationWithTokenOutput
- type APIAuthenticationCompleteDeviceRegistrationWithTokenOutputData
- type APIBackupLockInput
- type APIBackupLockOutput
- type APIRequestDeviceRegistrationInput
- type APIRequestDeviceRegistrationOutput
- type APIRequestDeviceRegistrationOutputData
- type APIRequestDeviceRegistrationOutputDataVerification
- type APIRequestDeviceRegistrationOutputDataVerificationU2FChallenge
- type Credentials
- type ErrTOTPAlreadyEnabled
- type Service
- func (s *Service) APIAuthenticationCompleteDeviceRegistrationWithTOTP(input *APIAuthenticationCompleteDeviceRegistrationWithTOTPInput) (*APIAuthenticationCompleteDeviceRegistrationWithTOTPOutput, error)
- func (s *Service) APIAuthenticationCompleteDeviceRegistrationWithToken(input *APIAuthenticationCompleteDeviceRegistrationWithTokenInput) (*APIAuthenticationCompleteDeviceRegistrationWithTokenOutput, error)
- func (s *Service) APIBackupLock(input *APIBackupLockInput) (*APIBackupLockOutput, error)
- func (s *Service) APIRequestDeviceRegistration(input *APIRequestDeviceRegistrationInput) (*APIRequestDeviceRegistrationOutput, error)
- func (s *Service) WSAuthenticationChangeOfPasswordDone(input *WSAuthenticationChangeOfPasswordDoneInput) (*WSAuthenticationChangeOfPasswordDoneOutput, error)
- func (s *Service) WSAuthenticationExists(input *WSAuthenticationExistsInput) (*WSAuthenticationExistsOutput, error)
- func (s *Service) WSStrongauthActivateForNewDevice(input *WSStrongauthActivateForNewDeviceInput) (*WSStrongauthActivateForNewDeviceOutput, error)
- func (s *Service) WSStrongauthDeactivateForNewDevice(input *WSStrongauthDeactivateForNewDeviceInput) (*WSStrongauthDeactivateForNewDeviceOutput, error)
- func (s *Service) WSStrongauthGetRecoveryKeys(input *WSStrongauthGetRecoveryKeysInput) (*WSStrongauthGetRecoveryKeysOutput, error)
- func (s *Service) WSStrongauthGetU2FMetadata(input *WSStrongauthGetU2FMetadataInput) (*WSStrongauthGetU2FMetadataOutput, error)
- func (s *Service) WSStrongauthMakeSeed(input *WSStrongauthMakeSeedInput) (*WSStrongauthMakeSeedOutput, error)
- func (s *Service) WSStrongauthRegisterU2FDevice(input *WSStrongauthRegisterU2FDeviceInput) (*WSStrongauthRegisterU2FDeviceOutput, error)
- func (s *Service) WSStrongauthSetRecoveryPhone(input *WSStrongauthSetRecoveryPhoneInput) (*WSStrongauthSetRecoveryPhoneOutput, error)
- func (s *Service) WSStrongauthStartU2FRegistration(input *WSStrongauthStartU2FRegistrationInput) (*WSStrongauthStartU2FRegistrationOutput, error)
- func (s *Service) WSStrongauthUnregisterU2FDevice(input *WSStrongauthUnregisterU2FDeviceInput) (*WSStrongauthUnregisterU2FDeviceOutput, error)
- type WSAuthenticationChangeOfPasswordDoneInput
- type WSAuthenticationChangeOfPasswordDoneOutput
- type WSAuthenticationExistsInput
- type WSAuthenticationExistsOutput
- type WSStrongauthActivateForNewDeviceInput
- type WSStrongauthActivateForNewDeviceOutput
- type WSStrongauthDeactivateForNewDeviceInput
- type WSStrongauthDeactivateForNewDeviceOutput
- type WSStrongauthGetRecoveryKeysInput
- type WSStrongauthGetRecoveryKeysOutput
- type WSStrongauthGetU2FMetadataInput
- type WSStrongauthGetU2FMetadataOutput
- type WSStrongauthGetU2FMetadataOutputKey
- type WSStrongauthMakeSeedError
- type WSStrongauthMakeSeedInput
- type WSStrongauthMakeSeedOutput
- type WSStrongauthMakeSeedOutputContent
- type WSStrongauthMakeSeedOutputContentQRCode
- type WSStrongauthRegisterU2FDeviceInput
- type WSStrongauthRegisterU2FDeviceOutput
- type WSStrongauthSetRecoveryPhoneInput
- type WSStrongauthSetRecoveryPhoneOutput
- type WSStrongauthStartU2FRegistrationInput
- type WSStrongauthStartU2FRegistrationOutput
- type WSStrongauthStartU2FRegistrationOutputChallenge
- type WSStrongauthUnregisterU2FDeviceInput
- type WSStrongauthUnregisterU2FDeviceOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInput ¶
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInput struct {
Login *string `json:"login"`
Device *APIAuthenticationCompleteDeviceRegistrationWithTOTPInputDevice `json:"device"`
Verification *APIAuthenticationCompleteDeviceRegistrationWithTOTPInputVerification `json:"verification"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputDevice ¶
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputDevice struct {
DeviceName *string `json:"deviceName"`
AppVersion *string `json:"appVersion"`
Platform *string `json:"platform"`
OSCountry *string `json:"osCountry"`
OSLanguage *string `json:"osLanguage"`
Temporary *bool `json:"temporary"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputVerification ¶
type APIAuthenticationCompleteDeviceRegistrationWithTOTPInputVerification struct {
OTP *string `json:"otp"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTOTPOutput ¶
type APIAuthenticationCompleteDeviceRegistrationWithTOTPOutput struct {
RequestID *string `json:"requestId"`
Data *APIAuthenticationCompleteDeviceRegistrationWithTOTPOutputData `json:"data"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTokenInput ¶
type APIAuthenticationCompleteDeviceRegistrationWithTokenInput struct {
Login *string `json:"login"`
Device *APIAuthenticationCompleteDeviceRegistrationWithTokenInputDevice `json:"device"`
Verification *APIAuthenticationCompleteDeviceRegistrationWithTokenInputVerification `json:"verification"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTokenInputDevice ¶
type APIAuthenticationCompleteDeviceRegistrationWithTokenInputDevice struct {
DeviceName *string `json:"deviceName"`
AppVersion *string `json:"appVersion"`
Platform *string `json:"platform"`
OSCountry *string `json:"osCountry"`
OSLanguage *string `json:"osLanguage"`
Temporary *bool `json:"temporary"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTokenInputVerification ¶
type APIAuthenticationCompleteDeviceRegistrationWithTokenInputVerification struct {
Token *string `json:"token"`
}
type APIAuthenticationCompleteDeviceRegistrationWithTokenOutput ¶
type APIAuthenticationCompleteDeviceRegistrationWithTokenOutput struct {
RequestID *string `json:"requestId"`
Data *APIAuthenticationCompleteDeviceRegistrationWithTokenOutputData `json:"data"`
}
type APIBackupLockInput ¶
type APIBackupLockOutput ¶
type APIBackupLockOutput struct {
ObjectType *string `json:"objectType"`
Content *string `json:"content"`
}
FIXME handle dynomic content
type APIRequestDeviceRegistrationInput ¶
type APIRequestDeviceRegistrationInput struct {
Login *string `json:"login"`
}
type APIRequestDeviceRegistrationOutput ¶
type APIRequestDeviceRegistrationOutput struct {
RequestID *string `json:"requestId"`
Data *APIRequestDeviceRegistrationOutputData `json:"data"`
}
type APIRequestDeviceRegistrationOutputData ¶
type APIRequestDeviceRegistrationOutputData struct {
Verification []*APIRequestDeviceRegistrationOutputDataVerification `json:"verification"`
}
type APIRequestDeviceRegistrationOutputDataVerification ¶
type APIRequestDeviceRegistrationOutputDataVerification struct {
Type *string `json:"type"`
Challenges []*APIRequestDeviceRegistrationOutputDataVerificationU2FChallenge `json:"challenges,omitempty"`
}
type Credentials ¶
type Credentials struct {
Login *string `json:"login,omitempty"`
AppAccessKey *string `json:"app_access_key,omitempty"`
AppSecretKey *string `json:"app_secret_key,omitempty"`
DeviceAccessKey *string `json:"device_access_key,omitempty"`
DeviceSecretKey *string `json:"device_secret_key,omitempty"`
UKI *string `json:"uki,omitempty"`
OTP *string `json:"otp,omitempty"`
LockID *string `json:"lock_id,omitempty"`
}
type ErrTOTPAlreadyEnabled ¶
type ErrTOTPAlreadyEnabled struct{}
func (*ErrTOTPAlreadyEnabled) Error ¶
func (e *ErrTOTPAlreadyEnabled) Error() string
type Service ¶
type Service struct {
Client *http.Client `json:"-"`
Credentials *Credentials `json:"credentials"`
}
func (*Service) APIAuthenticationCompleteDeviceRegistrationWithTOTP ¶
func (s *Service) APIAuthenticationCompleteDeviceRegistrationWithTOTP( input *APIAuthenticationCompleteDeviceRegistrationWithTOTPInput, ) ( *APIAuthenticationCompleteDeviceRegistrationWithTOTPOutput, error, )
func (*Service) APIAuthenticationCompleteDeviceRegistrationWithToken ¶
func (s *Service) APIAuthenticationCompleteDeviceRegistrationWithToken( input *APIAuthenticationCompleteDeviceRegistrationWithTokenInput, ) ( *APIAuthenticationCompleteDeviceRegistrationWithTokenOutput, error, )
func (*Service) APIBackupLock ¶
func (s *Service) APIBackupLock( input *APIBackupLockInput, ) ( *APIBackupLockOutput, error, )
func (*Service) APIRequestDeviceRegistration ¶
func (s *Service) APIRequestDeviceRegistration( input *APIRequestDeviceRegistrationInput, ) ( *APIRequestDeviceRegistrationOutput, error, )
func (*Service) WSAuthenticationChangeOfPasswordDone ¶
func (s *Service) WSAuthenticationChangeOfPasswordDone( input *WSAuthenticationChangeOfPasswordDoneInput, ) ( *WSAuthenticationChangeOfPasswordDoneOutput, error, )
func (*Service) WSAuthenticationExists ¶
func (s *Service) WSAuthenticationExists( input *WSAuthenticationExistsInput, ) ( *WSAuthenticationExistsOutput, error, )
func (*Service) WSStrongauthActivateForNewDevice ¶
func (s *Service) WSStrongauthActivateForNewDevice( input *WSStrongauthActivateForNewDeviceInput, ) ( *WSStrongauthActivateForNewDeviceOutput, error, )
func (*Service) WSStrongauthDeactivateForNewDevice ¶
func (s *Service) WSStrongauthDeactivateForNewDevice( input *WSStrongauthDeactivateForNewDeviceInput, ) ( *WSStrongauthDeactivateForNewDeviceOutput, error, )
func (*Service) WSStrongauthGetRecoveryKeys ¶
func (s *Service) WSStrongauthGetRecoveryKeys( input *WSStrongauthGetRecoveryKeysInput, ) ( *WSStrongauthGetRecoveryKeysOutput, error, )
func (*Service) WSStrongauthGetU2FMetadata ¶
func (s *Service) WSStrongauthGetU2FMetadata( input *WSStrongauthGetU2FMetadataInput, ) ( *WSStrongauthGetU2FMetadataOutput, error, )
func (*Service) WSStrongauthMakeSeed ¶
func (s *Service) WSStrongauthMakeSeed( input *WSStrongauthMakeSeedInput, ) ( *WSStrongauthMakeSeedOutput, error, )
func (*Service) WSStrongauthRegisterU2FDevice ¶
func (s *Service) WSStrongauthRegisterU2FDevice( input *WSStrongauthRegisterU2FDeviceInput, ) ( *WSStrongauthRegisterU2FDeviceOutput, error, )
func (*Service) WSStrongauthSetRecoveryPhone ¶
func (s *Service) WSStrongauthSetRecoveryPhone( input *WSStrongauthSetRecoveryPhoneInput, ) ( *WSStrongauthSetRecoveryPhoneOutput, error, )
func (*Service) WSStrongauthStartU2FRegistration ¶
func (s *Service) WSStrongauthStartU2FRegistration( input *WSStrongauthStartU2FRegistrationInput, ) ( *WSStrongauthStartU2FRegistrationOutput, error, )
func (*Service) WSStrongauthUnregisterU2FDevice ¶
func (s *Service) WSStrongauthUnregisterU2FDevice( input *WSStrongauthUnregisterU2FDeviceInput, ) ( *WSStrongauthUnregisterU2FDeviceOutput, error, )
type WSAuthenticationChangeOfPasswordDoneOutput ¶
type WSAuthenticationChangeOfPasswordDoneOutput struct {
Result *string `json:"result"`
}
type WSAuthenticationExistsInput ¶
type WSAuthenticationExistsInput struct {
Login *string `url:"login"`
}
type WSAuthenticationExistsOutput ¶
type WSAuthenticationExistsOutput struct {
Exists *string `json:"exists"`
}
type WSStrongauthGetU2FMetadataOutput ¶
type WSStrongauthGetU2FMetadataOutput struct {
Code *int `json:"code"`
Message *string `json:"message"`
Content []*WSStrongauthGetU2FMetadataOutputKey `json:"content"`
}
type WSStrongauthGetU2FMetadataOutputKey ¶
type WSStrongauthGetU2FMetadataOutputKey struct {
KeyHandle *string `json:"keyHandle"`
Name *string `json:"name"`
CreationDateUnix *int64 `json:"creationDateUnix"`
LastUsedDateUnix *int64 `json:"lastUsedDateUnix"`
LastUsedFromIP *string `json:"lastUsedFromIP"`
LastUsedFromThisIP *bool `json:"lastUsedFromThisIp"`
LastUsedFromCountry *string `json:"lastUsedFromCountry"`
}
type WSStrongauthMakeSeedOutput ¶
type WSStrongauthMakeSeedOutput struct {
Code *int `json:"code"`
Message *string `json:"message"`
Content *WSStrongauthMakeSeedOutputContent `json:"content"`
}
type WSStrongauthMakeSeedOutputContent ¶
type WSStrongauthMakeSeedOutputContent struct {
Seed *string `json:"seed"`
ServerKey *string `json:"serverKey"`
QRCode *WSStrongauthMakeSeedOutputContentQRCode `json:"qrcode"`
}
type WSStrongauthStartU2FRegistrationOutput ¶
type WSStrongauthStartU2FRegistrationOutput struct {
Code *int `json:"code"`
Message *string `json:"message"`
Content *WSStrongauthStartU2FRegistrationOutputChallenge `json:"content"`
}
Source Files
¶
- api-backup-lock.go
- api-device-registration-complete-with-token.go
- api-device-registration-complete-with-totp.go
- api-device-registration-request.go
- service.go
- signer.go
- types.go
- ws-authentication-changeofpassworddone.go
- ws-authentication-exists.go
- ws-strongauth-activatefornewdevice.go
- ws-strongauth-common.go
- ws-strongauth-deactivatefornewdevice.go
- ws-strongauth-getrecoverykeys.go
- ws-strongauth-getu2fmetadata.go
- ws-strongauth-makeseed.go
- ws-strongauth-registeru2fdevice.go
- ws-strongauth-setrecoveryphone.go
- ws-strongauth-startu2fregistration.go
- ws-strongauth-unregisteru2fdevice.go
Click to show internal directories.
Click to hide internal directories.