CrossmintApiConfig class

Base configuration shared by every Crossmint SDK client.

Platform-specific subclasses (e.g. CrossmintClientConfig in crossmint_flutter) extend this class with platform-only fields such as storage adapters or loggers.

Implementers

Constructors

CrossmintApiConfig({required String apiKey, String? appId, String? appScheme, String? origin, Uri? overrideBaseUrl, String? extensionId})
Creates a CrossmintApiConfig.
const

Properties

apiKey → String
Crossmint API key.
final
appId → String?
Application identifier registered with Crossmint — usually matches the mobile bundle ID (iOS) or package name (Android). If omitted, the SDK auto-resolves it from platform metadata during initialize().
final
appScheme → String?
Deep-link scheme the Crossmint auth page redirects back to after sign-in. Typically equals appId on mobile. Required for OAuth flows.
final
extensionId → String?
Browser-extension identifier used by extension-embedded flows.
final
hashCode → int
The hash code for this object.
no setterinherited
origin → String?
Origin header sent with requests when using a client key. Required on web; optional on mobile (the SDK derives it from appId when omitted).
final
overrideBaseUrl → Uri?
Overrides the default Crossmint API base URL — used for local development or pointing at a custom-hosted environment.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited