Microsoft Graph Picture Cache

未关闭
#177 61 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp

调研方向

在示例应用中的 Microsoft Graph Sample 中开始,使用一个 Work or School account,然后使用一个 MSA account,重现该流程。跟踪用户图片如何在 Logout 和 Login 之间被保留;完成的标准是:当第二个帐户的个人资料没有图片时,该帐户不会显示前一个用户的图片。

由索引模型根据 Issue 内容生成。

描述

needs attention :wave: needs triage :mag:

I'm submitting a...

  • Bug report (I searched for similar issues and did not find one)

Current behavior

If you login with a Work Account (which supports the user picture endpoint), logoff and login with an MSA (which does not supports the user picture endpoint), the old Work Account user picture is shown.

Expected behavior

The sample app should not show another user's picture, if it can't find mine.

Minimal reproduction of the problem with instructions

  1. Open the sample app
  2. Open the Microsoft Graph Sample
  3. Login with an account which will return a picture profile (a Work or School account)
  4. Logoff
  5. Login with an account which will not return a picture profile (an MSA account)

Environment

Nuget Package(s): Microsoft.Toolkit.Uwp.Services

Package Version(s): Latest from source (3.0 preview)

Windows 10 Build Number:
- [ ] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [ ] Fall Creators Update (16299)
- [X] Insider Build (build number: 17672)

App min and target version:
- [Min] Anniversary Update (14393) 
- [ ] Creators Update (15063)
- [Target] Fall Creators Update (16299)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [X] 2017 (version: 15.7.1)
- [ ] 2017 Preview (version: )

主要语言
C#
星标
156
派生
37
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommunityToolkit/Graph-Controls 的其他 Issue

查看 CommunityToolkit/Graph-Controls 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。