]> git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/SecureObjectSync/SOSAuthKitHelpers.h
Security-58286.270.3.0.1.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / SecureObjectSync / SOSAuthKitHelpers.h
1 //
2 // SOSAuthKitHelpers.h
3 // Security
4 //
5
6 #ifndef SOSAuthKitHelpers_h
7 #define SOSAuthKitHelpers_h
8
9 #include <Security/SecureObjectSync/SOSAccount.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 @interface SOSAuthKitHelpers : NSObject
14 + (NSString * _Nullable)machineID;
15 + (bool) updateMIDInPeerInfo: (SOSAccount *) account;
16 + (bool) peerinfoHasMID: (SOSAccount *) account;
17
18 // activeMIDs might block on network
19 + (void)activeMIDs:(void(^_Nonnull)(NSSet * _Nullable activeMIDs, NSError * _Nullable error))complete;
20
21 @end
22
23 NS_ASSUME_NONNULL_END
24
25 #endif /* SOSAuthKitHelpers_h */