initCustomerSession static method

void initCustomerSession(
  1. EphemeralKeyProvider provider
)

Implementation

static void initCustomerSession(EphemeralKeyProvider provider) {
  if (_instance == null) {
    final manager =
        EphemeralKeyManager(provider, KEY_REFRESH_BUFFER_IN_SECONDS);
    _instance = CustomerSession._internal(manager);
  }
}