MfaRegistrationResult
public final class MfaRegistrationResult : ResultProtocol
Holds the result of the user registration.
-
The OAuth token endpoint of Access Manager.
Declaration
Swift
public fileprivate(set) var oauthTokenUrl: String
-
The time based one-time password token generator endpoint of Access Manager.
Declaration
Swift
public fileprivate(set) var totpUrl: String
-
The counter based one-time password token generator endpoint of Access Manager.
Declaration
Swift
public fileprivate(set) var hotpUrl: String
-
The enrollment challenge endpoint of Access Manager.
Declaration
Swift
public fileprivate(set) var enrollmentUrl: String
-
The pending transactions endpoint of Access Manager.
Declaration
Swift
public fileprivate(set) var transactionsUrl: String
-
The name of the service representing the Access Manager instance.
Remark
The value is determined by the presence of a key in the dictionary calledservice_name
. This value can be configured in Template Files under Secure Access Control on the appliance by creatingmmfa\user\mgmt\metadata\<oauth_client_id>\metadata.json
. In the absence ofservice_name
, the value of the OAuthclient_id
is used, which is also configurable on the appliance.Declaration
Swift
public fileprivate(set) var serviceName: String
-
Additional registration details from Access Manager.
Declaration
Swift
public fileprivate(set) var additionalData: [String: Any]
-
The type of error.
Declaration
Swift
public fileprivate(set) var error: Error?
-
Construct an instance containing the exception.
Declaration
Swift
public init(error: Error)
-
Parses the object into an
MfaRegistrationResult
.Throws
IBMMobileKitError.serverError, IBMMobileKitError.invalidDataFromServerDeclaration
Swift
open static func parse(_ data: [String: Any]) throws -> MfaRegistrationResult