Enumerationvapor 4.114.1Vapor
OTPDigits
Supported OTP output sizes.
enum OTPDigits
Supported OTP output sizes.
enum OTPDigits
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
case six
Six digits OTP.
case seven
Seven digits OTP.
case eight
Eight digits OTP.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: Int)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)