IOSAD-172 Interface for password cache IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Thu, 25 Jun 2020 17:08:21 +0200
branchIOSAD-172
changeset 1445cbb985d046dd
parent 1444 90a3bfe4f90b
child 1446 093f73bd3a23
IOSAD-172 Interface for password cache
pEpObjCAdapter/PEPPasswordCache.h
     1.1 --- a/pEpObjCAdapter/PEPPasswordCache.h	Thu Jun 25 17:08:21 2020 +0200
     1.2 +++ b/pEpObjCAdapter/PEPPasswordCache.h	Thu Jun 25 17:08:21 2020 +0200
     1.3 @@ -12,6 +12,15 @@
     1.4  
     1.5  @interface PEPPasswordCache : NSObject
     1.6  
     1.7 +/// Timeout of passwords in seconds, the default being 10 minutes.
     1.8 +@property (nonatomic) NSUInteger timeout;
     1.9 +
    1.10 +/// Add a new password.
    1.11 +- (void)addPassword:(NSString *)password;
    1.12 +
    1.13 +/// Retrieve the current list of cached passwords, including the empty one.
    1.14 +- (NSArray *)passwords;
    1.15 +
    1.16  @end
    1.17  
    1.18  NS_ASSUME_NONNULL_END