resetPinResetEndpoint static method

String resetPinResetEndpoint(
  1. AppConfig context
)

Implementation

static String resetPinResetEndpoint(AppConfig context) {
  switch (context.environment) {
    case AppEnvironment.PROD:
      return kProdPinResetEndpoint;
    case AppEnvironment.DEMO:
      return kDemoPinResetEndpoint;
    case AppEnvironment.E2E:
      return ke2ePinResetEndpoint;
    default:
      return kTestPinResetEndpoint;
  }
}