Miscellaneous
-
A
StitchCredential
can 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
‘sloginWithCredential
method.See also
StitchAuth
Declaration
Swift
public protocol StitchCredential
-
An enumeration of the types of authentication providers that can be used to authenticate with MongoDB Stitch.
Important
The raw value here has no meaning to the Stitch server. Use thename
field for the default name of of the authentication provider in MongoDB stitch.Declaration
Swift
public enum StitchProviderType : String, Codable
-
The
See moreExtendedStitchUserProfile
contains the fields returned by the Stitch client API in thedata
field 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