> ## 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-TW/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md) 函式使用此列舉。

> [!NOTE]
>
> PC 上不支援全螢幕，因此呼叫 `XGameUiShowWebAuthenticationWithOptionsAsync` 時會忽略 `PreferFullscreen`。

若要取得 `XGameUiShowWebAuthenticationWithOptionsAsync` 呼叫的結果，請呼叫 [XGameUiShowWebAuthenticationResultSize](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize.md)。然後呼叫 [XGameUiShowWebAuthenticationResult](https://docs.xbox.com/zh-TW/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)。

## 需求

**標頭：** XGameUI.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

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


## Related topics

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