Skip to main content
Final Class Configuration for CrossmintClient.
Extends CrossmintApiConfig (the shared base shape used across all Crossmint SDK platforms) with the Flutter-specific plug-points authStorage, logger, refreshRoute, and logoutRoute.
Use a client key (ck_*) for frontend apps — they require origin for auth. Use a server key (sk_*) only in server contexts; it needs no origin.

Constructors

CrossmintClientConfig

Creates a CrossmintClientConfig.

Properties

authStorage

Custom session / token store. When null, the SDK uses FlutterSecureStorage under the hood.

logger

Custom logger sink. When null, the SDK writes no logs.

refreshRoute

Optional custom server endpoint for token refresh.

logoutRoute

Optional custom server endpoint for logout.