Core Functionalities
Last updated
Last updated
Login with DIMO allow developers to surface an interface for the end users to authenticate by integrating with the Accounts API. This functionality sets up the smart contract wallet for the end user, giving full root access to the user (and only the user), enabling logins across all DIMO platforms with the use of a passkey.
DIMO Check-in
Learn more about how passkey is more secure and the future for Internet security in this Google blog: https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work/
This is an optional functionality that you can enable on the Component SDK either by coupling it with the login flow or decoupling it onto a button of its own.
Developer Notes
While optional, it is recommended that you include an expirationDate
in your component. If not included in the component, it will default to 1 year. Once the expiration date passes, you will no longer have privileged access to vehicles that have previously been shared with you, and users will need to re-share their vehicles with your app. It's up to developers to communicate to their users when they may need to re-share their vehicles.
For every user session, whenever a vehicle is shared, the SDK returns the sharedVehicles
array for the application in the response. This helps the developers identify and manage the user account - vehicles shared relations.
This is an optional functionality where you can trigger any ABI calls.