SdkUser
Represents an authenticated user in the Dynamic system.Properties
- id (String) - User’s unique identifier
- email (String?) - User’s email address (optional)
- phoneNumber (String?) - User’s phone number (optional)
- verifiedCredentials ([JwtVerifiedCredential]?) - Array of user’s verified credentials
- token (String?) - User’s authentication token
- projectSettings (ProjectSettings?) - Project configuration settings
Example
JwtVerifiedCredential
Represents a verified credential associated with a user in JWT format.Properties
- id (String) - Credential’s unique identifier
- format (CredentialFormat) - Type of credential format
- oauthProvider (OAuthProvider?) - OAuth provider type
- walletProvider (WalletProvider?) - Wallet provider type
- walletName (String?) - Name of the wallet
- chain (String?) - Blockchain chain identifier
- publicIdentifier (String?) - Public identifier (e.g., wallet address)
- walletProperties (WalletProperties?) - Additional wallet properties
Example
CredentialFormat
Enumeration of credential formats.WalletProvider
Enumeration of wallet providers.OTPVerification
Represents the state of an OTP verification process.Properties
- email (String?) - Email address (for email OTP)
- phoneNumber (String?) - Phone number (for SMS OTP)
- phoneCountryCode (String?) - Country code (for SMS OTP)
- isoCountryCode (String?) - ISO country code (for SMS OTP)
- verificationUUID (String) - Unique identifier for this verification
Example
ProviderType
Enumeration of supported social authentication providers.Example
BlockchainAddress
Cross-chain compatible blockchain address.Methods
asString
Get the string representation of the blockchain address.Returns
- String - Address in string format