Class MSQAAccountInfoInternal
- java.lang.Object
-
- com.microsoft.quickauth.signin.internal.entity.MSQAAccountInfoInternal
-
- All Implemented Interfaces:
MSQAAccountInfo
public class MSQAAccountInfoInternal extends java.lang.Object implements MSQAAccountInfo
-
-
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
getEmail()
java.lang.String
getFullName()
java.lang.String
getGivenName()
java.lang.String
getId()
java.lang.String
getIdToken()
java.lang.String
getSurname()
java.lang.String
getUserName()
void
setEmail(java.lang.String mEmail)
void
setFullName(java.lang.String fullName)
void
setGivenName(java.lang.String mGivenName)
void
setId(java.lang.String id)
void
setIdToken(java.lang.String idToken)
void
setSurname(java.lang.String mSurname)
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 interfaceMSQAAccountInfo
- Returns:
- User full name.
-
getUserName
@Nullable public java.lang.String getUserName()
- Specified by:
getUserName
in interfaceMSQAAccountInfo
- Returns:
- Email address or phone.
-
getId
@Nullable public java.lang.String getId()
- Specified by:
getId
in interfaceMSQAAccountInfo
- Returns:
- CID for MSA.
-
getIdToken
@Nullable public java.lang.String getIdToken()
- Specified by:
getIdToken
in interfaceMSQAAccountInfo
- Returns:
- MSA account id token.
-
getBase64Photo
@Nullable public java.lang.String getBase64Photo()
- Specified by:
getBase64Photo
in interfaceMSQAAccountInfo
- Returns:
- User photo Base64 string data.
-
setUserPhoto
public void setUserPhoto(java.lang.String userPhoto)
-
setFullName
public void setFullName(java.lang.String fullName)
-
setIdToken
public void setIdToken(java.lang.String idToken)
-
setUserName
public void setUserName(java.lang.String userName)
-
setId
public void setId(java.lang.String id)
-
getGivenName
public java.lang.String getGivenName()
- Specified by:
getGivenName
in interfaceMSQAAccountInfo
- Returns:
- User given name.
-
setGivenName
public void setGivenName(java.lang.String mGivenName)
-
getSurname
public java.lang.String getSurname()
- Specified by:
getSurname
in interfaceMSQAAccountInfo
- Returns:
- User surname.
-
setSurname
public void setSurname(java.lang.String mSurname)
-
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail
in interfaceMSQAAccountInfo
- Returns:
- User email.
-
setEmail
public void setEmail(java.lang.String mEmail)
-
getAccount
public static MSQAAccountInfoInternal getAccount(@NonNull com.microsoft.identity.client.IAuthenticationResult authenticationResult)
-
-