VerificationMethod

ENUM

# VerificationMethod

@objc public enum VerificationMethod: Int

Possible verification methods that can be used for identity verification.

# Cases

# fullCustom

case fullCustom

Custom identity verification, done with a client implementation.

# standardEmail

case standardEmail

Identity verification done by email.

# Methods

# verificationMethodFromString(_:)

public static func verificationMethodFromString(
    _ string: String
) -> VerificationMethod

Getting the verification method based on the given string value. If the method is not matched returns the standardEmail value.

  • Parameter string: value of the verification method
  • Returns: Value of the verification method.

# Parameters

Name Description
string value of the verification method