SASLMechanism
public struct SASLMechanism: CustomStringConvertible
The possible SASL mechanisms that can be used for authentication.
-
The textual representation of the SASLMechanism.
Declaration
Swift
public let description: String
-
Use the GSSAPI mechanism.
Declaration
Swift
public static let gssapi = SASLMechanism(description: "GSSAPI")
-
Use the PLAIN mechanism.
Declaration
Swift
public static let plain = SASLMechanism(description: "PLAIN")
-
Use the SCRAM-SHA-256 mechanism.
Declaration
Swift
public static let scramSHA256 = SASLMechanism(description: "SCRAM-SHA-256")
-
Use the SCRAM-SHA-512 mechanism.
Declaration
Swift
public static let scramSHA512 = SASLMechanism(description: "SCRAM-SHA-512")
-
Use the oauthbearer mechanism.
Declaration
Swift
public static let oauthbearer = SASLMechanism(description: "OAUTHBEARER")