Skip to content

Instantly share code, notes, and snippets.

@juantrias
juantrias / AuthContextSecureEnclaveKeychain.h
Last active April 27, 2017 14:50
Valet extension to support kSecUseAuthenticationContext https://github.com/square/Valet/issues/104
#import <Foundation/Foundation.h>
@interface AuthContextSecureEnclaveKeychain : NSObject
- (instancetype)initWithIdentifier:(NSString *)identifier userPrompt:(NSString *)userPrompt;
- (NSString *)stringForKey:(NSString *)key;
- (BOOL)setString:(NSString *)string forKey:(NSString *)key;