SLSLoginInput
public struct SLSLoginInput
Struct with the requested information addressed to the user
-
Informative text for the authentication. This contains a hint for the user what type of input he need for authentication or a error message.
Declaration
Swift
public let clientMessage: String
-
Client disclaimer if configured on server.
Declaration
Swift
public let disclaimer: String
-
The message type
Declaration
Swift
public let messageType: SLSLoginInput.ClientMessageType
-
Array of SLSLoginInputField types that contains information about fields.
Declaration
Swift
public let inputFields: [SLSLoginInputField]
-
Type of the message in SLSLoginInput
See moreDeclaration
Swift
public enum ClientMessageType : Int
-
Initializer of SLSLoginInput
Declaration
Swift
public init(clientMessage: String = "", disclaimer: String = "", messageType: SLSLoginInput.ClientMessageType = SLSLoginInput.ClientMessageType.none, inputFields: [SLSLoginInputField])
Parameters
clientMessage
informative text for the authentication
disclaimer
client disclaimer if configured on server
inputFields
array of SLSLoginInputField types that contains information about fields