Documentation
¶
Index ¶
- type Client
- func (client *Client) GetActiveTokens(userID string) ([]string, error)
- func (client *Client) StartUserVIPPush(userID string) (transactionID string, err error)
- func (client *Client) ValidateUserOTP(userID string, OTPValue int) (bool, error)
- func (client *Client) VerifySingleToken(tokenID string, tokenValue int) (bool, error)
- func (client *Client) VipPushHasBeenApproved(transactionID string) (bool, error)
- type PollResponseDeviceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Cert tls.Certificate
VipUserServicesURL string
VipUserServiceAuthenticationURL string
RootCAs *x509.CertPool
VipPushMessageText string //what is shown on the shown on the alarm
VipPushDisplayMessageText string // what is shown after
VipPushDisplayMessageProfile string // The url?
Debug bool
RequireAppApproval bool
}
func (*Client) GetActiveTokens ¶
func (*Client) StartUserVIPPush ¶ added in v1.4.3
func (*Client) ValidateUserOTP ¶
func (*Client) VerifySingleToken ¶
type PollResponseDeviceInfo ¶ added in v1.4.3
Click to show internal directories.
Click to hide internal directories.