EXTENSION
HaapiAccessorBuilder
@objc public extension HaapiAccessorBuilder
Methods
build(shouldClearExistingDCRClient:completionHandler:)
Creates a HaapiManagerAccessor. It will check if the device supports key-attestation or not and it will return a configured HaapiAccessor.
-
Parameters:
- shouldClearExistingDCRClient: Instructs the framework to clear the existing Dcr Client.
Falseis the default value. - completionHandler: a handler that takes the (success or error) response to process it.
- shouldClearExistingDCRClient: Instructs the framework to clear the existing Dcr Client.
-
Note: This method should be invoked only once for any configuration. If it has to be invoked multiple times for the same configuration and
HaapiAccessorOption.allwas configured, be sure to invokeHaapiAccessor.closebefore invokingbuildagain otherwise anHaapiError.haapiTokenManagerAlreadyExistsis returned. -
Important: Method overload for Objective-C usage.