Documentation
  • Overview
    • Templating
    • API Calls
    • Redux State
    • Forms and Validation
    • Routing
    • Localization
    • Tracking and feedback
    • Browser compatibility
  • Module
    • apiGetCollection
    • apiGetEntity
    • apiRequest
    • app/actions/entities/entityActions
    • app/actions/entities/entityViewActions
    • app/config/routeRequirements
    • app/data/enum/FieldNames/onlineRegistrationFields
    • app/data/enum/Gender
    • app/enhanced-redux-form/utils/injectFormNameToProps
    • app/util/asyncReducer
    • app/util/BmiUtils
    • app/util/browserUtil
    • app/util/componentClassNameUtils
    • app/util/createViewReducer
    • app/util/deviceUtil
    • app/util/form/basic-validations
    • app/util/form/formFieldPropTypes
    • app/util/form/inputEventUtil
    • app/util/form/parseGMapsAddressComponents
    • app/util/gapArrayUtils
    • app/util/imageSizeUtils
    • app/util/locale/messageFormatUtil
    • app/util/proptypes/apiEntities/account
    • app/util/proptypes/apiEntities/activityGoalShape
    • app/util/proptypes/apiEntities/activityShape
    • app/util/proptypes/apiEntities/awardShape
    • app/util/proptypes/apiEntities/feature
    • app/util/proptypes/apiEntities/featuredPodcastShape
    • app/util/proptypes/apiEntities/food
    • app/util/proptypes/apiEntities/foodItemShape
    • app/util/proptypes/apiEntities/foodSearchExplanation
    • app/util/proptypes/apiEntities/image
    • app/util/proptypes/apiEntities/interaction
    • app/util/proptypes/apiEntities/pagination
    • app/util/proptypes/apiEntities/plannedDay
    • app/util/proptypes/apiEntities/plannedDayStats
    • app/util/proptypes/apiEntities/plannerRecipe
    • app/util/proptypes/apiEntities/podcastCategoryShape
    • app/util/proptypes/apiEntities/podcastShape
    • app/util/proptypes/apiEntities/profile
    • app/util/proptypes/apiEntities/promotedSearchShape
    • app/util/proptypes/apiEntities/recipe
    • app/util/proptypes/apiEntities/recipeDetail
    • app/util/proptypes/apiEntities/recommendedReadingSectionShape
    • app/util/proptypes/apiEntities/slimmingGroup
    • app/util/proptypes/apiEntities/successStories
    • app/util/proptypes/apiEntities/tracking
    • app/util/proptypes/apiEntities/weighIn
    • app/util/proptypes/apiEntities/weightLossAwardShape
    • app/util/proptypes/childrenOfType
    • app/util/proptypes/creditCardPropTypes
    • app/util/proptypes/sizePropTypes
    • app/util/raven/debug-breadcrumb
    • app/util/raven/middleware
    • app/util/raven/raven-client
    • app/util/RedirectError
    • app/util/route-requirements/processRequirements
    • app/util/routeCallback
    • app/util/routeUtils
    • app/util/tracking/asyncTrackingMiddleware
    • app/util/tracking/dataLayerUtils
    • app/util/tracking/index
    • app/util/withLoadingCount
    • collectionActions
    • collectionIds
    • collectionPaginationViewSelector
    • collectionSelector
    • enhanced-redux-form
    • enhanced-redux-form/actions/compositeInputActions
    • enhanced-redux-form/actions/enhancedFormActions
    • enhanced-redux-form/actions/wizardFormActions
    • enhanced-redux-form/components/CompositeInput
    • enhanced-redux-form/components/EnhancedField
    • enhanced-redux-form/components/formValueProvider
    • enhanced-redux-form/components/HideOnError
    • enhanced-redux-form/compositeInputFormatters
    • enhanced-redux-form/data/constants
    • enhanced-redux-form/enhancedFormWizard
    • enhanced-redux-form/enhancedReduxFormMiddleware
    • enhanced-redux-form/utils/ComposeOn
    • enhanced-redux-form/utils/getRegisteredFields
    • enhanced-redux-form/utils/isFieldRegistered
    • enhanced-redux-form/utils/isSubmissionError
    • enhanced-redux-form/utils/processCompositeInputs
    • entityViewReducer
    • Injectables
    • Injector
    • paginationType
    • redux-listeners-middleware
    • scrollTo
    • server/actions/logoutResponseActions
    • server/actions/paymentResponseActions
    • server/actions/responseActions
    • server/util/AuthenticationHelper/OidcClient
    • server/util/secureReduxState
    • util/assignIfChanged
  • Class
    • AuthenticationHelper
    • CachedCall
    • ClientAuthenticationManager
    • CompositeInputFormatterError
    • DeviceStateProvider
    • Gateway
    • KeyedTaskQueue
    • LocaleProvider
    • app/util/RedirectError~RedirectError
    • app/util/tracking/asyncTrackingMiddleware~AsyncActionTracking
    • enhanced-redux-form/components/CompositeInput~CompositeInput
    • enhanced-redux-form/components/EnhancedField~EnhancedField
    • enhanced-redux-form/components/formValueProvider~FormValueProvider
    • server/util/AuthenticationHelper/OidcClient~OidcClient
    • OidcDiscovery
    • PageRenderer
    • PathAliasManager
    • QueryRoutingProvider
    • ReduxPersistClientCookieStorage
    • ReduxPersistServerCookieStorage
    • RequestScheduler
    • RESTInputHandler
    • RESTOutputHandler
    • RouteRequirement
    • ScrollManager
    • SlimmingWorldServer
    • TokenCache
  • Event
    • event:authtoken
  • Tutorial
    • Running account Edge.js
    • API Calls
    • Configuration
    • Forms and validation
    • Examples
    • JSDoc instructions
    • Setting the NODE_ENV environment variable
    • Page Initialization
    • Pattern Library
    • Weinre & Browsersync debugger
  • Unsorted
    • ACCEPT_LOCK
    • accessToken
    • accountStateTypeStrings
    • addError
    • address
    • AgeRanges
    • AgeType
    • allFilterKeys
    • allMonths
    • apiDayDateFormat
    • asyncActionTypes
    • availableFlags
    • AWARD_CEREMONY
    • awardCollection
    • awardComparer
    • awardDataMap
    • AwardDisplayType
    • AwardMap
    • AwardType
    • BASE_64_REGEX
    • batchLoadFoodPlannerDays
    • cancellableCallback
    • canStartBodyMagicAward
    • centimetersToInches
    • centimetersToMeters
    • CHECK_COMPLETE
    • chopMemberNames
    • cleanseId
    • clearNonSerializable
    • clearScrollTo
    • closeModal
    • clubTenViewSettings
    • combineReducersNamed
    • commonTrackEvent
    • CompetitionEntryTypes
    • composeCheckboxesToArray
    • composeCheckboxesToBitwise
    • composeCheckboxesToCommaDelimitedString
    • composeDate
    • composeDuration
    • composeHeightImperialToMetric
    • composeWeightImperialToMetric
    • composeWeightImperialWithStonesToMetric
    • composeWeightMetric
    • CONFIRM_NEWSLETTER_SIGNUP
    • confirmEntryDetails
    • consultantShape
    • contactSupportParam
    • convertArrayToBitwise
    • convertBitwiseToArray
    • convertDurationToMinutes
    • convertToWebP
    • convertWeighInDay
    • convertWeightValue
    • CookingType
    • createCommunityPost
    • createDataArraySelector
    • createFunctionalComponentWrapper
    • createPackagePurchase
    • createPurchaseSubscription
    • createQueryHistory
    • createStoreInstance
    • createSuccessStory
    • Cuisine
    • currentRoute
    • currentWeightSelector
    • DataTestidOverides
    • daysSince
    • daysToYearsAndDays
    • dec2hex
    • decomposeCheckboxesToArray
    • decomposeCheckboxesToBitwise
    • decomposeDate
    • decomposeDuration
    • decomposeHeightImperialToMetric
    • decomposeHeightMetric
    • decomposeWeightImperialToMetric
    • decomposeWeightImperialWithStonesToMetric
    • decomposeWeightMetric
    • dedupeAsyncThunk
    • defaultViewReducers
    • deriveKeysSP800_108_CTR_HMAC512
    • detectEmoji
    • detectGroupSearchType
    • detectImageUrl
    • detectInternalUrl
    • detectLineBreak
    • detectSubsampling
    • detectTag
    • detectUrl
    • detectVerticalSquash
    • detectYoutubeVideo
    • DeviceState
    • DURATION_HOURS
    • DURATION_MINUTES
    • encodeBase64
    • END
    • ensureTagsClosed
    • entitiesReducer
    • entityReducer
    • entityTypeReducer
    • environmentConfig
    • EXTRACT_BOTH_PARTS_OF_UK_POSTCODE_REGEX
    • extractPayloadSignature
    • extractPropsFromObject
    • factSheetShape
    • FeaturesType
    • filterGenerator
    • filterMonths
    • findWeekNumberInMonth
    • FIRSTNAME_EMAIL_SIGNUP_REGEX
    • FontWeight
    • FoodOptimising
    • formatAddressType
    • formatKeyId
    • formatTimeDuration
    • formIsSubmitted
    • FormRouteSync
    • fractionalNumberToLocale
    • generateAad
    • GET_ACCOUNT_ORIGIN
    • GET_AUTHENTICATOR_DETAILS
    • GET_CURRENT_SECTION
    • GET_GROUP_DETAIL_CALL
    • GET_IS_BETA_MEMBER
    • GET_IS_GROUP_MEMBER
    • GET_LEGACY_SITE_URL
    • GET_MIGRATIONS
    • GET_MIGRATIONS_STATE
    • GET_MIGRATIONS_SUMMARY
    • GET_SECTION_CONTENT
    • GET_VERIFIABLE_RESOURCE
    • getAllMonths
    • getAllowCacheHeaders
    • getAntiForgeryToken
    • getAppConfigSettings
    • getAssetData
    • getAvailableMonths
    • getAwardsByType
    • getCheckBoxValues
    • getComponent
    • getConsultantDetail
    • getConsultantGroups
    • getContextHeader
    • getCountry
    • getCountryFieldRules
    • getCoverPhotoById
    • getCurrentAge
    • getCurrentSectionContent
    • getCurrentWeighIn
    • getDayName
    • getDaysBetween
    • getDefaultApiEntityTransform
    • getEntity
    • getEnvironmentConfig
    • getEnvironmentFromHost
    • getFraction
    • getFullTowns
    • getGroupId
    • getHoursBetween
    • getKeyByValue
    • getKeyVaultValue
    • getLinkPropsFromUrl
    • getMembersCompetitionEntriesOverview
    • getMembersEntryDetails
    • getMembersSuccessStoriesOverview
    • getMinutesBetween
    • getMonthsBetween
    • getNotifications
    • getNumWeeksInMonth
    • getOrdinalDate
    • getOrdinalNum
    • getOrientation
    • getPackages
    • getPostDetail
    • getPublicityEntryOverview
    • getPublicityEntryPhotos
    • getPublicityEntryQuestions
    • getPublicPrices
    • getTimeZoneIsoString
    • getTransformedSettingsArray
    • getUrlParameter
    • getUserFullWeighInHistory
    • getUserPermissionStateData
    • getValueWithTwoDecimals
    • getWeekName
    • getYearsSince
    • GridItemType
    • groupByFirstChar
    • groupOrOnlineSelector
    • groupSubscriptionHelper
    • hasActiveBodyMagicAward
    • hasCommitment
    • hasConfirmedWeighInWeight
    • hasErrorCode
    • hasValidBackRoute
    • hasWeighInEmotion
    • idToken
    • IMAGE_REGEX
    • IMAGE_THERAPY
    • imageInputRestFormatter
    • IMPLICIT_ROUTE_SILENT_RENEW_TOKEN
    • inchesToCentimeters
    • inchesToFeet
    • INDEX_KEY
    • INTERNAL_LINK
    • isAtTargetSelector
    • isBeforeOrAfter
    • isBfpoPostcode
    • isFirstWeighInSelector
    • isFree2GoRegisteringMember
    • isFulfilled
    • isInteraction
    • isLocalOrDevelopment
    • isNotPregnant
    • isNowDate
    • isoDaysOfWeek
    • isOnJourney
    • isPastOrCurrentDate
    • isSignalRType
    • isValidUkPostcode
    • isWithinDateRange
    • JWT_CLAUSE_MAP
    • keepaliveAgent
    • KEY_PREFIX
    • kilogramsToPounds
    • kilogramsToStones
    • kmToMiles
    • LAST_SLASH_OCCURRENCE_REGEX
    • lastWeighInSelector
    • LINE_BREAKS_REGEX
    • LIVE
    • loadImage
    • loadYearsOptions
    • LOBBY
    • makeIsLoadingSelector
    • makeNonSerializableSelector
    • makeOffsetPackageSelector
    • makePackagesWithDiscountSelector
    • makeSelectedPackageSelector
    • makeWeighInsSelector
    • MarkAsRead
    • markNotificationsRead
    • MATCH_EXCLUDE_ALTERNATE_LINK
    • MATCH_FIRST
    • MATCH_HYPHENS
    • MATCH_WHITESPACE
    • matchRoute
    • matchRouteThunk
    • MAX_LENGTH
    • MealType
    • mediaQueries
    • MegaPixImage
    • memberFlagCheck
    • memberIsAccountType
    • membershipCardValid
    • metaHasField
    • metaHasForm
    • MFA_REGISTER_OR_VERIFY
    • MIN_LENGTH
    • msUrlTokenDecode
    • navigateBackLink
    • NavViews
    • NO_WHITESPACE_START_AND_END_REGEX
    • NO_WHITESPACE_START_REGEX
    • noBodyMagicAwards
    • noCurrentWeekWeighIn
    • nonSerializableMap
    • nonSerializableReducer
    • NOT_WHITESPACE_END_REGEX
    • noWeightLossAwards
    • ONLY_ALPHANUMERIC
    • ONLY_NUMERIC
    • ONLY_SINGLE_DIGITS
    • ONLY_SIX_NUMERIC
    • onOrAfterWeighInDay
    • openModal
    • ORIGIN_DETECTION
    • packagesSelector
    • pageLoadComplete
    • pageRenderComplete
    • PARAM_WAIT_FOR_MIGRATION_CREATION
    • parseRoutesRequirements
    • passLegacyDataLoaded
    • passLegacyUserLockAccepted
    • passSecurityAnswerNotSet
    • PASSWORD_REGEX
    • patchLocalStorageDebug
    • PHONE_NUMBER_REGEX
    • pollApi
    • pollingCurrentMigrationState
    • POSTAL_CODES
    • postcodeValid
    • postPublicityEntryAnswer
    • postPublicityPhoto
    • poundsToKilograms
    • poundsToStones
    • prependWebHost
    • previousWeightSelector
    • priceShape
    • processMatches
    • processQueryRouting
    • productSnapshotShape
    • propNameValuesToObject
    • PUBLIC_RECIPE_DETAIL
    • PUBLIC_SUCCESS_STORIES_LANDING
    • purchaseItemShape
    • purchaseShape
    • PUT_VERIFIABLE_RESOURCE
    • quickLinkShape
    • REACT_STATICS
    • readChunkedCookie
    • RecipeAdditionalTimSuffix
    • RecipeTime
    • redirectToMigrationErrorPage
    • reducePublicGroupSessions
    • registerFixedHeaderElement
    • registerNonSerializable
    • removeKey
    • renderImageToCanvas
    • renderImageToDataURL
    • REQUEST_PATH_REGEX
    • returnOnlyPresentValues
    • reverseDeviceStateOrder
    • rotateImage
    • SAVE_ACCOUNTS_EMAIL
    • savePurchaseInfo
    • scaleImage
    • scrollBarWidth Creates a div of screen, forces an overflow and checks the new size, returning the difference between the two.
    • scrollTo
    • scrollToElement
    • Seasonal
    • SeasonalType
    • securityQuestionReducer
    • selectedFoodRangeCategories
    • selectedFoodRangeProducts
    • SelectedRecipe
    • SET_CURRENT_SECTION
    • SET_LOGOUT_RESPONSE
    • SET_PAYMENT_RESPONSE
    • SET_VERIFIABLE_RESOURCE
    • setCentimeters
    • setCheckboxValues
    • setJourneyConfirmed
    • setPublicityEntryComplete
    • setTrackingPageData
    • setTrackingPersistentData
    • setupInjects
    • setUseCache
    • SEVEN_DAY_MENU_SIGNUP
    • shouldUpdateScroll
    • SLIMMER_OF_THE_MONTH
    • SLIMMER_OF_THE_WEEK
    • startPayment
    • stonesToPounds
    • StoriesType
    • STRENGTHENING
    • strictIdCheck
    • stringToUrl
    • stripPrivateEnvironmentConfig
    • SUBMISSION_COUNT
    • subscriptionPackageShape
    • subscriptionTypeSelector
    • syncValuesToRoute
    • TableRowColumnAmount
    • TAG_REGEX
    • targetedReducer
    • TextTypes
    • thunkIdCount
    • THUNKS_NAMESPACE
    • trackDomEvent
    • trackLink
    • trackVideoEvent
    • transformCoordinate
    • transformUbbToHTML
    • trendLine
    • unprotectAspNetData
    • unregisterFixedHeaderElement
    • updatePublicityEntryAnswer
    • updateTrackingDataCategory
    • URL_AFTER_LAST_SLASH_REGEX
    • useForWmfcPollingStatesArray
    • userAccountByIdSelector
    • userAccountSelector
    • userGroupIdsSelector
    • userGroupSelector
    • userGroupsSelector
    • userIdSelector
    • userInfo
    • userProfileSelector
    • userWeighInsSelector
    • validateBasket
    • validateConfigs
    • VERIFIED_IDENTITY_TOKEN
    • VERIFY_SECURITY_ANSWER
    • verifyMagicHeader
    • verifySignature
    • voucherSelector
    • webHosts
    • weeklyGoalSet
    • weighInByIdSelector
    • weighInHistorySelector
    • weighInToAddSelector
    • WeightLossType
    • weightLowerRange
    • weightUpperRange
    • WELCOME
    • withDeviceState A HoC for passing the deviceState to your component via the props. Makes use of react-redux connect() HoC
    • WrapGetMessage
    • XmlSchemaNamespace
    • YOUTUBE_REGEX

Tutorial

Classes

AuthenticationHelper
CachedCall
ClientAuthenticationManager
CompositeInputFormatterError
DeviceStateProvider
Gateway
KeyedTaskQueue
LocaleProvider
RedirectError
AsyncActionTracking
CompositeInput
EnhancedField
FormValueProvider
OidcClient
OidcDiscovery
PageRenderer
PathAliasManager
QueryRoutingProvider
ReduxPersistClientCookieStorage
ReduxPersistServerCookieStorage
RequestScheduler
RESTInputHandler
RESTOutputHandler
RouteRequirement
ScrollManager
SlimmingWorldServer
TokenCache

Events


authtoken

Will be emitted whenever new auth tokens are set.

Type: object
Properties:
Name Type Description
idToken object

The new id token

accessToken object

The new access token

Source:
  • client/util/auth/ClientAuthenticationManager.js, line 298

Search results

Copyright © 2016 Slimming World Documentation generated by JSDoc 3.6.3 using the DocStrap template.