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.
-
Creates an instance.
Declaration
Swift
public init(mobileCountryCode: String? = nil, file: StaticString = #fileID, line: UInt = #line)Parameters
mobileCountryCodeThe 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.
-
Declaration
Swift
public var provider: AuthenticationProvider { get } -
Declaration
Swift
public func initializeAuthentication(_: WebcomMarkers.Restricted, for service: AuthenticationService) -> WebcomResult<Void> -
Declaration
Swift
public func authenticate(_: WebcomMarkers.Restricted, then completionCallback: @escaping WebcomResult<AuthenticationDetails>.Callback)
-
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 }
-
Declaration
Swift
public var debugDescription: String { get }