UserPasswordCredential
public struct UserPasswordCredential : StitchCredential
The UserPasswordCredential is a StitchCredential that is used to log in
using the Username/Password Authentication Provider.
See also
StitchAuth
-
Initializes this credential with the name of the provider, the username of the user, and the password of the user.
Declaration
Swift
public init(withProviderName providerName: String = providerType.name, withUsername username: String, withPassword password: String)
-
The name of the provider for this credential.
Declaration
Swift
public var providerName: String -
The type of the provider for this credential.
Declaration
Swift
public static let providerType: StitchProviderType -
The contents of this credential as they will be passed to the Stitch server.
Declaration
Swift
public var material: Document { get } -
The behavior of this credential when logging in.
Declaration
Swift
public var providerCapabilities: ProviderCapabilities
UserPasswordCredential Structure Reference