SFManagedPreferences Class Reference

Inherits from NSObject
Declared in SFManagedPreferences.h

Overview

Class to handle preferences set by an MDM provider.

+ sharedPreferences

The shared instance of this class.

+ (instancetype)sharedPreferences

Return Value

The shared instance of this class.

Declared In

SFManagedPreferences.h

  hasManagedPreferences

Whether or not any managed preferences have been configured for this app.

@property (nonatomic, readonly) BOOL hasManagedPreferences

Declared In

SFManagedPreferences.h

  requireCertificateAuthentication

Whether the app is configured to require certificate-based authentication. (RequireCertAuth)

@property (nonatomic, readonly) BOOL requireCertificateAuthentication

Declared In

SFManagedPreferences.h

  loginHosts

An array of prescribed login hosts from the MDM provider. (AppServiceHosts)

@property (nonatomic, readonly) NSArray *loginHosts

Declared In

SFManagedPreferences.h

  loginHostLabels

The associated labels for the provided login hosts. (AppServiceHostLabels)

@property (nonatomic, readonly) NSArray *loginHostLabels

Declared In

SFManagedPreferences.h

  connectedAppId

The managed Connected App ID. (ManagedAppOAuthID)

@property (nonatomic, readonly) NSString *connectedAppId

Declared In

SFManagedPreferences.h

  connectedAppCallbackUri

The managed Conneced App Callback URI. (ManagedAppCallbackURL)

@property (nonatomic, readonly) NSString *connectedAppCallbackUri

Declared In

SFManagedPreferences.h

  clearClipboardOnBackground

Whether or not to clear the clipboard when the app is backgrounded. (ClearClipboardOnBackground)

@property (nonatomic, readonly) BOOL clearClipboardOnBackground

Declared In

SFManagedPreferences.h

  shouldDisableExternalPasteDefinedByConnectedApp

Whether or not external paste is disabled in the connected app.

@property (nonatomic, readonly) BOOL shouldDisableExternalPasteDefinedByConnectedApp

Declared In

SFManagedPreferences.h

  onlyShowAuthorizedHosts

Whether or not to display only the authorized hosts. (OnlyShowAuthorizedHosts)

@property (nonatomic, readonly) BOOL onlyShowAuthorizedHosts

Declared In

SFManagedPreferences.h

  idpAppURLScheme

The idp App’s URL Scheme

@property (nonatomic, readonly) NSString *idpAppURLScheme

Declared In

SFManagedPreferences.h

  rawPreferences

The raw NSDictionary of managed preferences.

@property (nonatomic, strong, readonly) NSDictionary *rawPreferences

Declared In

SFManagedPreferences.h