public class AuthInfo extends Object
| Constructor and Description |
|---|
AuthInfo(String userId,
String deviceId,
String accessToken,
String refreshToken,
String loggedInProviderType,
String loggedInProviderName,
StitchUserProfileImpl userProfile)
Constructs a new AuthInfo that's fully specified.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
String |
getDeviceId() |
String |
getLoggedInProviderName() |
String |
getLoggedInProviderType() |
String |
getRefreshToken() |
String |
getUserId() |
StitchUserProfileImpl |
getUserProfile() |
public AuthInfo(String userId, String deviceId, String accessToken, String refreshToken, String loggedInProviderType, String loggedInProviderName, StitchUserProfileImpl userProfile)
userId - the id of the currently logged in user.deviceId - the id of the device this SDK is running on.accessToken - the access token associated with the user.refreshToken - the refresh token associated with the user.loggedInProviderType - the type of auth provider the current user logged in with.loggedInProviderName - the name of the auth provider the current user logged in with.userProfile - the profile information about the currently logged in user.public String getUserId()
public String getDeviceId()
public String getAccessToken()
public String getRefreshToken()
public String getLoggedInProviderType()
public String getLoggedInProviderName()
public StitchUserProfileImpl getUserProfile()