ConnectToken constructor

ConnectToken({
  1. int expiresAt = 0,
  2. ContextType contextType = ContextType.unknown,
  3. UserType userType = UserType.unknown,
  4. bool isInternal = false,
  5. String userId = '',
  6. String authSessionId = '',
  7. bool isAnonymous = false,
  8. bool isGlobal = false,
  9. String authProvider = '',
  10. String ssoConnectionId = '',
  11. String delegationClaims = '',
  12. String surface = '',
  13. String host = '',
  14. String hostLabel = '',
  15. String testLinkId = '',
  16. String testLinkName = '',
  17. FeedbackAdmission feedbackAdmission = FeedbackAdmission.unknown,
  18. Opcode opcodeGroupsFromServer = Opcode.NONE,
  19. Opcode opcodeGroupsToServer = Opcode.NONE,
  20. Map<String, String> parameters = const {},
  21. String geoCountry = '',
  22. String geoSubdivision = '',
  23. String geoCity = '',
  24. int edgeRttMsec = 0,
  25. String description = '',
  26. String deviceId = '',
  27. String productId = '',
  28. String versionId = '',
  29. String installId = '',
  30. String locale = '',
  31. String userAgent = '',
  32. ClientType clientType = ClientType.unknown,
  33. SdkType sdkType = SdkType.unknown,
  34. int sdkCapability = 0,
  35. int protocolVersion = 0,
  36. PayloadType payloadType = PayloadType.unknown,
  37. StyleFormat styleFormat = StyleFormat.css,
  38. bool supportsCompression = true,
  39. bool hasInput = false,
  40. bool receiveAllMessages = false,
  41. int viewportWidth = 0,
  42. int viewportHeight = 0,
  43. String theme = '',
  44. String timezone = '',
  45. bool isTouchDevice = false,
  46. String initialPath = '',
  47. String initialUrl = '',
  48. bool isSnapshot = false,
  49. String snapshotVariant = '',
})

Implementation

ConnectToken({
    this.expiresAt = 0,
    this.contextType = ContextType.unknown,
    this.userType = UserType.unknown,
    this.isInternal = false,
    this.userId = '',
    this.authSessionId = '',
    this.isAnonymous = false,
    this.isGlobal = false,
    this.authProvider = '',
    this.ssoConnectionId = '',
    this.delegationClaims = '',
    this.surface = '',
    this.host = '',
    this.hostLabel = '',
    this.testLinkId = '',
    this.testLinkName = '',
    this.feedbackAdmission = FeedbackAdmission.unknown,
    this.opcodeGroupsFromServer = Opcode.NONE,
    this.opcodeGroupsToServer = Opcode.NONE,
    this.parameters = const {},
    this.geoCountry = '',
    this.geoSubdivision = '',
    this.geoCity = '',
    this.edgeRttMsec = 0,
    this.description = '',
    this.deviceId = '',
    this.productId = '',
    this.versionId = '',
    this.installId = '',
    this.locale = '',
    this.userAgent = '',
    this.clientType = ClientType.unknown,
    this.sdkType = SdkType.unknown,
    this.sdkCapability = 0,
    this.protocolVersion = 0,
    this.payloadType = PayloadType.unknown,
    this.styleFormat = StyleFormat.css,
    this.supportsCompression = true,
    this.hasInput = false,
    this.receiveAllMessages = false,
    this.viewportWidth = 0,
    this.viewportHeight = 0,
    this.theme = '',
    this.timezone = '',
    this.isTouchDevice = false,
    this.initialPath = '',
    this.initialUrl = '',
    this.isSnapshot = false,
    this.snapshotVariant = '',
});