StitchUserProfile
public protocol StitchUserProfile : ExtendedStitchUserProfile
The StitchUserProfile describes a StitchUser.
Every StitchUser has a StitchUserProfile member.
See ExtendedStitchUserProfile for additional fields available on this type.
-
A string describing the type of this user, either
"server"or"normal"."server"users are users authenticated via a server API key generated in the MongoDB Stitch admin console. All other users are"normal"users.Declaration
Swift
var userType: String { get } -
An array of
StitchUserIdentityobjects representing the identities linked to this user which can be used to log in as this user.Declaration
Swift
var identities: [StitchUserIdentity] { get }
StitchUserProfile Protocol Reference