WalletSecureEnrollmentService
public final actor WalletSecureEnrollmentService
Wallet secure enrollment service is used to seurely enroll the wallet and download the required assets.
-
The different states in Wallet secure enrollment.
See moreDeclaration
Swift
public enum State : Sendable -
Wallet secure enrollment service error
See moreDeclaration
-
eventStreamAsynchronous -
Initializes the
WalletSecureEnrollmentService.Declaration
Swift
public init() -
isEnrolled()AsynchronousChecks if wallet secure enrollment is already performed.
Throws
clientError(_:)if error on get provisioning service to read the wallet enrollment state.Declaration
Swift
public func isEnrolled() async throws -> BoolReturn Value
trueif it’s enrolled. Otherwise,false. -
enroll()AsynchronousEnroll wallet secure enrollment. Enrollment is triggered when the
isEnrolled()returns false.Throws
clientError(_:)if error encountered on enrollment.Declaration
Swift
public func enroll() async throws
WalletSecureEnrollmentService Actor Reference