MSALSliceConfig

Objective-C

@interface MSALSliceConfig : NSObject <NSCopying>

Swift

class MSALSliceConfig : NSObject, NSCopying

MSAL configuration interface responsible for custom parameters to target MSAL at a specific test slice & flight

Configuration options

  • Specific test slice

    Declaration

    Objective-C

    @property NSString *_Nonnull slice;

    Swift

    var slice: String { get set }
  • dc

    Specific data center

    Declaration

    Objective-C

    @property NSString *_Nonnull dc;

    Swift

    var dc: String { get set }
  • Current slice and flight configuration

    Declaration

    Objective-C

    @property (readonly) NSDictionary *_Nonnull sliceDictionary;

    Swift

    var sliceDictionary: [AnyHashable : Any] { get }

Constructing MSALSliceConfig

  • Initializes MSALSliceConfig with specified slice and dc parameters

    Declaration

    Objective-C

    - (nullable instancetype)initWithSlice:(nullable NSString *)slice
                                        dc:(nullable NSString *)dc;

    Swift

    init?(slice: String?, dc: String?)

    Parameters

    slice

    Specific test slice

    dc

    Specific data center

  • Initializes MSALSliceConfig with specified slice and dc parameters

    Declaration

    Objective-C

    + (nullable instancetype)configWithSlice:(nullable NSString *)slice
                                          dc:(nullable NSString *)dc;

    Parameters

    slice

    Specific test slice

    dc

    Specific data center

Unavailable initializers

  • Unavailable

    Use [MSALSliceConfig initWithSlice:dc:] instead

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Use [MSALSliceConfig initWithSlice:dc:] instead

    Declaration

    Objective-C

    + (nonnull instancetype)new;