Class MSQAAccountInfoInternal
- java.lang.Object
-
- com.microsoft.quickauth.signin.internal.entity.MSQAAccountInfoInternal
-
- All Implemented Interfaces:
AccountInfo
public class MSQAAccountInfoInternal extends java.lang.Object implements AccountInfo
-
-
Constructor Summary
Constructors Constructor Description MSQAAccountInfoInternal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MSQAAccountInfoInternal
getAccount(com.microsoft.identity.client.IAuthenticationResult authenticationResult)
java.lang.String
getBase64Photo()
java.lang.String
getFullName()
java.lang.String
getId()
java.lang.String
getUserName()
void
setFullName(java.lang.String fullName)
void
setId(java.lang.String id)
void
setUserName(java.lang.String userName)
void
setUserPhoto(java.lang.String userPhoto)
-
-
-
Method Detail
-
getFullName
@Nullable public java.lang.String getFullName()
- Specified by:
getFullName
in interfaceAccountInfo
- Returns:
- User full name.
-
getUserName
@Nullable public java.lang.String getUserName()
- Specified by:
getUserName
in interfaceAccountInfo
- Returns:
- Email address or phone.
-
getId
@NonNull public java.lang.String getId()
- Specified by:
getId
in interfaceAccountInfo
- Returns:
- CID for MSA.
-
getBase64Photo
@Nullable public java.lang.String getBase64Photo()
- Specified by:
getBase64Photo
in interfaceAccountInfo
- Returns:
- User photo Base64 string data.
-
setUserPhoto
public void setUserPhoto(java.lang.String userPhoto)
-
setFullName
public void setFullName(java.lang.String fullName)
-
setUserName
public void setUserName(java.lang.String userName)
-
setId
public void setId(java.lang.String id)
-
getAccount
public static MSQAAccountInfoInternal getAccount(com.microsoft.identity.client.IAuthenticationResult authenticationResult)
-
-