7 #import <Foundation/Foundation.h> 8 #import <UIKit/UIKit.h> 11 NS_ASSUME_NONNULL_BEGIN
26 @property (nonatomic) NSUInteger
Id;
30 @property (copy, nonatomic) NSString*
name;
34 @property (copy, nonatomic) NSURL*
URL;
36 - (instancetype)initWithId:(NSUInteger)Id name:(NSString*)name url:(NSString*)url;
50 @property (strong, nonatomic, readonly) NSString* username;
54 @property (strong, nonatomic, readonly, nullable) NSArray<VEVVault*>* vaults;
58 @property (nonatomic, readonly) NSUInteger userId;
60 - (instancetype)initWithUsername:(NSString*)username vaults:(nullable NSArray<
VEVVault*>*)vaults userId:(NSUInteger)userId;
76 NSError * _Nullable error);
88 NSError * _Nullable error);
105 @protocol VEVPasscodeManagerDelegate <NSObject>
112 - (void)unlockWasSuccessful;
222 @property (copy, nonatomic, nullable)
VEVUser* currentUser;
227 @property (weak, nonatomic) id<VEVPasscodeManagerDelegate> passcodeDelegate;
231 + (instancetype)sharedInstance;
271 - (BOOL)showLockScreen;
277 - (BOOL)isShowingLockScreen;
307 - (void)enableBiometricAuthentication:(BOOL)enable;
316 - (BOOL)isBiometricAuthenticationEnabled;
320 NS_ASSUME_NONNULL_END
An object type that refers to a Vault user. This is used primarily to track information about the cur...
Definition: VEVVaultAuth.h:46
void(^ VEVVaultAuthLoginResultHandler)(VEVUser *_Nullable user, NSError *_Nullable error)
The block type used to call back to the application after a login attempt has succeeded or failed...
Definition: VEVVaultAuth.h:75
void(^ VEVVaultAuthLogoutHandler)(VEVUser *user)
The block type used to call back to the application when the user is logged out.
Definition: VEVVaultAuth.h:96
An object type that refers to a particular Vault. VEVVaultAuth::currentUser tracks the authenticated ...
Definition: VEVVaultAuth.h:22
NSUInteger Id
The Vault ID.
Definition: VEVVaultAuth.h:26
A singleton class that manages Vault authentication.
Definition: VEVVaultAuth.h:217
NSString * name
The Vault name.
Definition: VEVVaultAuth.h:30
NSURL * URL
The Vault DNS.
Definition: VEVVaultAuth.h:34
void(^ VEVVaultAuthRefreshUserResultHandler)(VEVUser *_Nullable user, NSError *_Nullable error)
The block type used to call back to the application when refreshing the current user's information fr...
Definition: VEVVaultAuth.h:87