Class MSQAAccountInfoInternal

    • Constructor Detail

      • MSQAAccountInfoInternal

        public MSQAAccountInfoInternal()
    • Method Detail

      • getFullName

        @Nullable
        public java.lang.String getFullName()
        Specified by:
        getFullName in interface MSQAAccountInfo
        Returns:
        User full name.
      • getUserName

        @Nullable
        public java.lang.String getUserName()
        Specified by:
        getUserName in interface MSQAAccountInfo
        Returns:
        Email address or phone.
      • getId

        @Nullable
        public java.lang.String getId()
        Specified by:
        getId in interface MSQAAccountInfo
        Returns:
        CID for MSA.
      • getIdToken

        @Nullable
        public java.lang.String getIdToken()
        Specified by:
        getIdToken in interface MSQAAccountInfo
        Returns:
        MSA account id token.
      • getBase64Photo

        @Nullable
        public java.lang.String getBase64Photo()
        Specified by:
        getBase64Photo in interface MSQAAccountInfo
        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 interface MSQAAccountInfo
        Returns:
        User given name.
      • setGivenName

        public void setGivenName​(java.lang.String mGivenName)
      • getSurname

        public java.lang.String getSurname()
        Specified by:
        getSurname in interface MSQAAccountInfo
        Returns:
        User surname.
      • setSurname

        public void setSurname​(java.lang.String mSurname)
      • getEmail

        public java.lang.String getEmail()
        Specified by:
        getEmail in interface MSQAAccountInfo
        Returns:
        User email.
      • setEmail

        public void setEmail​(java.lang.String mEmail)
      • getAccount

        public static MSQAAccountInfoInternal getAccount​(@NonNull
                                                         com.microsoft.identity.client.IAuthenticationResult authenticationResult)