StitchCredential
public protocol StitchCredential
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
‘s loginWithCredential
method.
See also
StitchAuth
-
The name of the associated Authentication Provider.
Declaration
Swift
var providerName: String { get }
-
The type of the associated Authentication Provider.
Declaration
Swift
static var providerType: StitchProviderType { get }
-
The contents of this credential as they will be passed to the Stitch server.
Declaration
Swift
var material: Document { get }
-
A
ProviderCapabilities
struct describing the behavior of this credential when logging in.Declaration
Swift
var providerCapabilities: ProviderCapabilities { get }