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

Enumerates options for presenting the web authentication flow.

<a id="syntaxSection" />

## Syntax

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

<a id="constantsSection" />

## Constants

| Constant         | Description                                            |
| ---------------- | ------------------------------------------------------ |
| None             | Show the authentication flow in a normal dialog box.   |
| PreferFullscreen | Show the authentication flow by using the full screen. |

<a id="remarksSection" />

## Remarks

The [XGameUiShowWebAuthenticationWithOptionsAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync) function uses this enumeration.

<Note>On the PC, full screen is not supported, so `PreferFullscreen` is ignored when calling `XGameUiShowWebAuthenticationWithOptionsAsync`.</Note>

To get the results of a call to `XGameUiShowWebAuthenticationWithOptionsAsync`, call [XGameUiShowWebAuthenticationResultSize](/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize). Then call [XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult).

<a id="requirementsSection" />

## Requirements

**Header:** XGameUI.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[XGameUI](/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUiShowWebAuthenticationWithOptionsAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
- [XGameUiWebAuthenticationResultData](/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md)
- [XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
