Wallet Unit
The public interface to the WalletUnit. See Registration, Login, GetWalletState and DebugAttestations for details on the provided functionality.
Properties
Link copied to clipboard
Holds a Flow of com.youniqx.walletsdk.attestation.Attestations containing only WIA and/or WUA attestations. The Flow is updated whenever a new WIA or WUA is saved to the database.
Link copied to clipboard
Provides the WalletState as Flow. The Flow update when the WalletUnit's state changes.
Functions
Link copied to clipboard
Login to the WalletProvider.
Link copied to clipboard
abstract suspend fun register(registrationRequest: RegistrationRequest): Either<RegistrationError, Unit>
Register the WalletUnit at the WalletProvider.