public class EmailLinkPersistenceManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EmailLinkPersistenceManager.SessionRecord
Holds the necessary information to complete the email link sign in flow
|
| Constructor and Description |
|---|
EmailLinkPersistenceManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllData(Context context) |
static EmailLinkPersistenceManager |
getInstance() |
EmailLinkPersistenceManager.SessionRecord |
retrieveSessionRecord(Context context) |
void |
saveEmail(Context context,
String email,
String sessionId,
String anonymousUserId) |
void |
saveIdpResponseForLinking(Context context,
IdpResponse idpResponseForLinking) |
public static EmailLinkPersistenceManager getInstance()
public void saveEmail(@NonNull
Context context,
@NonNull
String email,
@NonNull
String sessionId,
@Nullable
String anonymousUserId)
public void saveIdpResponseForLinking(@NonNull
Context context,
@NonNull
IdpResponse idpResponseForLinking)
@Nullable public EmailLinkPersistenceManager.SessionRecord retrieveSessionRecord(@NonNull Context context)
public void clearAllData(@NonNull
Context context)