Miscellaneous
-
A
StitchCredentialcan be used to log in.There is an implementation for each available Authentication Provider. These implementations can be generated using an
AuthProviderClientFactory.To log in, pass a credential implementation for the provider you want to use to
StitchAuth‘sloginWithCredentialmethod.See moreSee also
StitchAuthDeclaration
Swift
public protocol StitchCredential
-
An enumeration of the types of authentication providers that can be used to authenticate with MongoDB Stitch.
See moreImportant
The raw value here has no meaning to the Stitch server. Use thenamefield for the default name of of the authentication provider in MongoDB stitch.Declaration
Swift
public enum StitchProviderType : String, Codable
-
The
See moreExtendedStitchUserProfilecontains the fields returned by the Stitch client API in thedatafield of a user profile request.Declaration
Swift
public protocol ExtendedStitchUserProfile
-
A protocol defining methods necessary to provide an authentication provider client. This protocol is not to be inherited except internally. Each authentication provider with a client offers a static factory implementing this protocol.
See moreDeclaration
Swift
public protocol AuthProviderClientFactory
-
A protocol defining methods necessary to provide an authentication provider client for a named authentication provider. This protocol is not to be inherited except internally within the StitchCore-iOS module. Each named authentication provider with a client offers a static factory implementing this protocol.
See moreDeclaration
Swift
public protocol NamedAuthProviderClientFactory
-
Defines the behavior of a credential based on its authentication provider.
See moreDeclaration
Swift
public struct ProviderCapabilities
Miscellaneous Reference