6 #ifndef SOSAuthKitHelpers_h
7 #define SOSAuthKitHelpers_h
9 #import "keychain/SecureObjectSync/SOSAccount.h"
10 #import "keychain/SecureObjectSync/SOSTrustedDeviceAttributes.h"
12 @interface SOSAuthKitHelpers
: NSObject
13 + (NSString
* _Nullable
)machineID
;
14 + (void) activeMIDs
:(void(^_Nonnull
)(NSSet
<SOSTrustedDeviceAttributes
*> * _Nullable activeMIDs
, NSError
* _Nullable error
))complete
;
15 + (bool) updateMIDInPeerInfo
: (SOSAccount
*_Nonnull
) account
;
16 + (bool) peerinfoHasMID
: (SOSAccount
*_Nonnull
) account
;
17 + (bool) accountIsHSA2
;
18 - (id _Nullable
) initWithActiveMIDS
: (NSSet
*_Nullable
) theMidList
;
19 - (bool) midIsValidInList
: (NSString
*_Nullable
) machineId
;
20 - (bool) serialIsValidInList
: (NSString
*_Nullable
) serialNumber
;
25 @
property (nonatomic
, retain
) NSSet
* _Nullable midList
;
26 @
property (nonatomic
, retain
) NSSet
* _Nullable machineIDs
;
27 @
property (nonatomic
, retain
) NSSet
* _Nullable serialNumbers
;
29 #endif /* __OBJC2__ */
33 #endif /* SOSAuthKitHelpers_h */