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 called service_name. This value can be configured in Template Files under Secure Access Control on the appliance by creating mmfa\user\mgmt\metadata\<oauth_client_id>\metadata.json. In the absence of service_name, the value of the OAuth client_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.invalidDataFromServer

    Declaration

    Swift

    open static func parse(_ data: [String: Any]) throws -> MfaRegistrationResult