MfaQRScanResult
public final class MfaQRScanResult : QRScanResultProtocol
The MfaQRScanResult
handles registration data scanned from a QR code.
-
Initializes a new
MfaQRScanResult
.Declaration
Swift
public required init(code: String, metadataUrl: String, clientId: String, version: Int = 1, ignoreSslCerts: Bool = false)
Parameters
code
The OAuth authorization code.
metadataUrl
The metadata discovery endpoint.
clientId
The unique identifier between the service and the client app.
version
The endpoint version.
ignoreSslCerts
The flag to ignore SSL certifcate checking.
-
The OAuth authorization code.
Declaration
Swift
public fileprivate(set) var code: String
-
The metadata discovery endpoint.
Declaration
Swift
public fileprivate(set) var metadataUrl: String
-
The unique identifier between the service and the client app.
Declaration
Swift
public fileprivate(set) var clientId: String
-
The endpoint version.
Declaration
Swift
public fileprivate(set) var version: Int
-
The flag to ignore SSL certifcate checking.
Declaration
Swift
public fileprivate(set) var ignoreSslCerts: Bool