Go to the source code of this file.
- Copyright
- Copyright © 2017 Veeva Systems, Inc. All rights reserved.
◆ VEVVaultAuthLoginResultHandler
typedef 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.
- Parameters
-
user | The current user object if authenticated, or nil. |
error | The error object in the event an error occurred during login. |
- See also
- VEVVaultAuth:authenticateWithHandler.
◆ VEVVaultAuthRefreshUserResultHandler
typedef 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 from Vault.
- Parameters
-
user | The user object representing the current user or nil if the user has logged out. |
error | The error object in the event an error occurred refreshing the current user's vaults. |
◆ VEVVaultAuthLogoutHandler
typedef void(^ VEVVaultAuthLogoutHandler) (VEVUser *user) |
The block type used to call back to the application when the user is logged out.
- Parameters
-
user | The user object representing the user that was logged out. |