MSALNativeAuthFlowScenario

@objc
public enum MSALNativeAuthFlowScenario : Int, CaseIterable

Identifies which Native Auth V2 (server-driven) flow a MSALNativeAuthFlowDelegate callback belongs to.

Because V2 uses a single unified delegate for sign in, sign up and password reset, every delegate callback also reports the scenario that triggered it so the app can react appropriately without tracking the originating flow itself.

Warning

This API is experimental. It may be changed in the future without notice. Do not use in production applications.
  • The scenario could not be determined. This is the default value and should not normally be reported to the app; it acts as a safe placeholder until a concrete flow scenario is resolved.

    Declaration

    Swift

    case unknown
  • The callback originated from a sign up flow.

    Declaration

    Swift

    case signUp
  • The callback originated from a sign in flow.

    Declaration

    Swift

    case signIn
  • The callback originated from a password reset flow.

    Declaration

    Swift

    case passwordReset