AuthenticationMethodOrangeMobileNetwork

public final class AuthenticationMethodOrangeMobileNetwork : AuthenticationSingleStepMethod

A method that delegates authentication of the current user to a third-party identity provider, which relies on the Orange mobile data network and a physical SIM card or an eSIM of the device.

This method works only for mobile devices connected through the Orange mobile data network, not in Wi-Fi.

Initializers

  • Creates an instance.

    Declaration

    Swift

    public init(mobileCountryCode: String? = nil, file: StaticString = #fileID, line: UInt = #line)

    Parameters

    mobileCountryCode

    The mobile country code (MCC) of the SIM card used by the device to connect to the data network. When nil, currentMobileCountryCodeis used instead. The MCC follows the ITU-T recommendation E.212. e.g.: The MCC is "208" for France (mainland) and "602" for Egypt.

AuthenticationMethod Protocol

API

  • The mobile country code (MCC) for the user’s cellular service provider.

    This value is given by the operating system.

    Declaration

    Swift

    public static var currentMobileCountryCode: String? { get }

CustomDebugStringConvertible Protocol

  • Declaration

    Swift

    public var debugDescription: String { get }