Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HardwareAuthToken ¶
type HardwareAuthToken struct {
Challenge int64
UserId int64
AuthenticatorId int64
AuthenticatorType HardwareAuthenticatorType
Timestamp Timestamp
Mac []byte
}
func (*HardwareAuthToken) MarshalParcel ¶
func (s *HardwareAuthToken) MarshalParcel( p *parcel.Parcel, ) error
func (*HardwareAuthToken) UnmarshalParcel ¶
func (s *HardwareAuthToken) UnmarshalParcel( p *parcel.Parcel, ) error
type HardwareAuthenticatorType ¶
type HardwareAuthenticatorType int32
const ( HardwareAuthenticatorTypeNONE HardwareAuthenticatorType = 0 HardwareAuthenticatorTypePASSWORD HardwareAuthenticatorType = (1 << 0) HardwareAuthenticatorTypeFINGERPRINT HardwareAuthenticatorType = (1 << 1) HardwareAuthenticatorTypeANY HardwareAuthenticatorType = -1 )
type SecurityLevel ¶
type SecurityLevel int32
const ( SecurityLevelSOFTWARE SecurityLevel = 0 SecurityLevelTrustedEnvironment SecurityLevel = 1 SecurityLevelSTRONGBOX SecurityLevel = 2 )
type VerificationToken ¶
type VerificationToken struct {
Challenge int64
Timestamp Timestamp
SecurityLevel SecurityLevel
Mac []byte
}
func (*VerificationToken) MarshalParcel ¶
func (s *VerificationToken) MarshalParcel( p *parcel.Parcel, ) error
func (*VerificationToken) UnmarshalParcel ¶
func (s *VerificationToken) UnmarshalParcel( p *parcel.Parcel, ) error
Click to show internal directories.
Click to hide internal directories.