Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateResponse ¶
type AuthenticateResponse struct { ClientData string `json:"clientData"` ErrorID int `json:"errorId"` ErrorMsg string `json:"errorMsg"` SessionID string `json:"sessionId"` UniqueMsgID string `json:"uniqueMsgId"` }
func (*AuthenticateResponse) Success ¶
func (a *AuthenticateResponse) Success() bool
type PingID ¶
type PingID struct {
// contains filtered or unexported fields
}
func NewPingIDFromFile ¶
func NewPingIDFromString ¶
func (*PingID) AuthenticateOffline ¶
func (p *PingID) AuthenticateOffline(sessionID, userName, otp, clientData string) (*AuthenticateResponse, error)
func (*PingID) AuthenticateOnline ¶
func (p *PingID) AuthenticateOnline(userName, clientData string) (*AuthenticateResponse, error)
Click to show internal directories.
Click to hide internal directories.