CommunityToolkit / CommunityToolkit/Graph-Controls

Microsoft Graph Picture Cache

未关闭
#177 61 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
needs attention :wave: needs triage :mag:
主要语言
C#
星标
156
派生
38
PR 合并指标
30 天内没有已合并 PR

描述

## 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: )

```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start in the Microsoft Graph Sample within the sample app and reproduce the sequence using a Work or School account followed by an MSA account. Trace how the user picture is retained across logout and login; done means the second account does not display the previous user's picture when its profile has no picture.

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

评估

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

把新 issue 发到你的邮箱

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