diff options
| author | Grant Limberg <grant.limberg@red.com> | 2016-05-31 17:19:22 -0700 |
|---|---|---|
| committer | Grant Limberg <grant.limberg@red.com> | 2016-05-31 17:23:11 -0700 |
| commit | 975bcb8affa7fbd7ca534dac9ec8d642e6c977f7 (patch) | |
| tree | 75f5f57d31302fddf2bc20d54bb6713fe08f873e /ZeroTier One/AuthtokenCopy.h | |
| parent | 51e74f8d4f200a7e3be9a6ac4bef8486f83a5d5d (diff) | |
| download | infinitytier-975bcb8affa7fbd7ca534dac9ec8d642e6c977f7.tar.gz infinitytier-975bcb8affa7fbd7ca534dac9ec8d642e6c977f7.zip | |
some OS X Authentication Services wizardry to get /Library/Application Support/ZeroTier/One/authtoken.secret and copy it to ~/Library/Application Support/ZeroTier/One/authtoken.secret
Diffstat (limited to 'ZeroTier One/AuthtokenCopy.h')
| -rw-r--r-- | ZeroTier One/AuthtokenCopy.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ZeroTier One/AuthtokenCopy.h b/ZeroTier One/AuthtokenCopy.h new file mode 100644 index 00000000..43c927e2 --- /dev/null +++ b/ZeroTier One/AuthtokenCopy.h @@ -0,0 +1,16 @@ +// +// AuthtokenCopy.h +// ZeroTier One +// +// Created by Grant Limberg on 5/31/16. +// Copyright © 2016 ZeroTier, Inc. All rights reserved. +// + +#ifndef AuthtokenCopy_h +#define AuthtokenCopy_h + +#import <Foundation/Foundation.h> + +NSString* getAdminAuthToken(AuthorizationRef authRef); + +#endif /* AuthtokenCopy_h */ |
