UserDataStore

public protocol UserDataStore : AnyObject

Interface to access user specific data sourcery: StreamWrapped

Onboarding

  • Publisher that returns if the onboarding screens should be displayed

    Declaration

    Swift

    var hideOnboarding: AnyPublisher<Bool, Never> { get }
  • Indicates if the onboarding screens should be displayed (alternative to publisher)

    Declaration

    Swift

    var isOnboardingHidden: Bool { get }
  • Set the hideOnboarding The new value is published through hideOnboarding

    Declaration

    Swift

    func set(hideOnboarding: Bool)

    Parameters

    hideOnboarding

    trueif it should be hidden, otherwise false

  • Indicates with which version the onboarding has been shown

    Declaration

    Swift

    var onboardingVersion: AnyPublisher<String?, Never> { get }
  • Set the app version in which onboarding has been presented The new value is published through onboardingVersion

    Declaration

    Swift

    func set(onboardingVersion: String?)

    Parameters

    onboardingVersion

    app version that was installed when onboarding has finished

CardWall

  • Indicates if the card wall intro screen should be displayed

    Declaration

    Swift

    var hideCardWallIntro: AnyPublisher<Bool, Never> { get }
  • Set the hideCardWallIntro The new value is published through hideCardWallIntro

    Declaration

    Swift

    func set(hideCardWallIntro: Bool)

    Parameters

    hideCardWallIntro

    trueif it should be hidden, otherwise false

Server configuration name

  • Server environment name to use. Only available in non production builds.

    Declaration

    Swift

    func set(serverEnvironmentConfiguration: String?)
  • Server environment name to use. Only available in non production builds.

    Declaration

    Swift

    var serverEnvironmentConfiguration: AnyPublisher<String?, Never> { get }
  • Get name for server environment configuration without publisher

    Declaration

    Swift

    var serverEnvironmentName: String? { get }

App Security

  • The app security option

    Declaration

    Swift

    var appSecurityOption: AnyPublisher<AppSecurityOption, Never> { get }
  • Set the app security option The new value is published through appSecurityOption

    Declaration

    Swift

    func set(appSecurityOption: AppSecurityOption)

    Parameters

    appSecurityOption

    The option selected to secure the app

  • The current count of failed app authentications

    Declaration

    Swift

    var failedAppAuthentications: AnyPublisher<Int, Never> { get }
  • Set the count of failed app authentications during login

    Declaration

    Swift

    func set(failedAppAuthentications: Int)

    Parameters

    failedAppAuthentications

    number of failures

  • Whether the “your device is not secured” warning should be ignored permanently.

    Declaration

    Swift

    var ignoreDeviceNotSecuredWarningPermanently: AnyPublisher<Bool, Never> { get }
  • Set whether the “your device is not secured” warning should be ignored permanently.

    Declaration

    Swift

    func set(ignoreDeviceNotSecuredWarningPermanently: Bool)

    Parameters

    ignoreDeviceNotSecuredWarningForSession

    ignore the warning permanently

Profile Selection

General