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

Enumerates options for presenting the web authentication flow.

## Syntax

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

## Constants

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

## Remarks

The [XGameUiShowWebAuthenticationWithOptionsAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md) function uses this enumeration.

> [!NOTE]
>
> On the PC, full screen is not supported, so `PreferFullscreen` is ignored when calling `XGameUiShowWebAuthenticationWithOptionsAsync`.

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

## Requirements

**Header:** XGameUI.h

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

## See also

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


## Related topics

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