public class StitchUserIdentity extends Object
Modifier | Constructor and Description |
---|---|
protected |
StitchUserIdentity(StitchUserIdentity identity) |
|
StitchUserIdentity(String id,
String providerType)
Constructs a new identity with the given id and provider type.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of the identity.
|
String |
getProviderType()
Returns the type of the provider that this identity is for.
|
public StitchUserIdentity(String id, String providerType)
id
- the id of the identity.providerType
- the type of the provider.protected StitchUserIdentity(StitchUserIdentity identity)
public String getId()
public String getProviderType()