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

# XGameUiWebAuthenticationOptions

> XGameUiWebAuthenticationOptions

# XGameUiWebAuthenticationOptions

列舉呈現 Web 驗證流程的選項。

<a id="syntaxSection" />

## 語法

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

<a id="constantsSection" />

## 常數

| 常數 | 描述 |
| - | - |
| None | 在一般對話方塊中顯示驗證流程。 |
| PreferFullscreen | 使用全螢幕顯示驗證流程。 |

<a id="remarksSection" />

## 備註

[XGameUiShowWebAuthenticationWithOptionsAsync](/zh-TW/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync) 函式使用此列舉。

<Note>PC 上不支援全螢幕，因此呼叫 `XGameUiShowWebAuthenticationWithOptionsAsync` 時會忽略 `PreferFullscreen`。</Note>

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

<a id="requirementsSection" />

## 需求

**標頭：** XGameUI.h

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

<a id="seealsoSection" />

## 另請參閱

[XGameUI](/zh-TW/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUiWebAuthenticationOptions](/reference/system/xgameui/enums/xgameuiwebauthenticationoptions.md)
- [XGameUiShowWebAuthenticationWithOptionsAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
