> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameUiWebAuthenticationOptions

> XGameUiWebAuthenticationOptions

# XGameUiWebAuthenticationOptions

枚举呈现 Web 身份验证流程的选项。

## 语法

```cpp theme={null}
enum class XGameUiWebAuthenticationOptions : uint32_t
{
    None = 0x00,
    PreferFullscreen = 0x01
};
```

## 常量

| 常量 | 说明 |
| - | - |
| None | 在普通对话框中显示身份验证流程。 |
| PreferFullscreen | 使用全屏显示身份验证流程。 |

## 备注

[XGameUiShowWebAuthenticationWithOptionsAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md) 函数使用此枚举。

> [!NOTE]
>
> 在 PC 上不支持全屏，因此在调用 `XGameUiShowWebAuthenticationWithOptionsAsync` 时会忽略 `PreferFullscreen`。

若要获取对 `XGameUiShowWebAuthenticationWithOptionsAsync` 的调用结果，请调用 [XGameUiShowWebAuthenticationResultSize](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize.md)。然后调用 [XGameUiShowWebAuthenticationResult](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)。

## 要求

**标头：** XGameUI.h

**支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[XGameUI](https://docs.xbox.com/zh-CN/reference/system/xgameui/xgameui_members.md)


## Related topics

- [XGameUiShowWebAuthenticationWithOptionsAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUI（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowWebAuthenticationAsync](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
- [XGameUiShowWebAuthenticationResult](https://docs.xbox.com/zh-CN/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiWebAuthenticationResultData](https://docs.xbox.com/zh-CN/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md)
