StitchUserIdentity

public protocol StitchUserIdentity : Decodable, Encodable

The StitchUserIdentity represents an identity that a StitchUser is linked to and can use to log in to their account.

  • id

    The id of this identity in MongoDB Stitch.

    Important

    This is not the id of the Stitch user.

    Declaration

    Swift

    var id: String { get }
  • A string indicating the authentication provider that provides this identity.

    Declaration

    Swift

    var providerType: String { get }