Mechanism
public struct Mechanism : Decodable, Equatable, CustomStringConvertible
Possible authentication mechanisms.
-
GSSAPI authentication.
Declaration
Swift
public static let gssAPI: MongoCredential.Mechanism
-
X509 authentication.
Declaration
Swift
public static let mongodbX509: MongoCredential.Mechanism
-
PLAIN authentication.
Declaration
Swift
public static let plain: MongoCredential.Mechanism
-
SCRAM-SHA-1 authentication.
Declaration
Swift
public static let scramSHA1: MongoCredential.Mechanism
-
SCRAM-SHA-256 authentication.
Declaration
Swift
public static let scramSHA256: MongoCredential.Mechanism
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public init(from decoder: Decoder) throws