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

# XGameUiWebAuthenticationResultData

> XGameUiWebAuthenticationResultData

# XGameUiWebAuthenticationResultData

웹 인증 요청의 응답을 포함합니다.

## 구문

```cpp theme={null}
typedef struct XGameUiWebAuthenticationResultData {  
    HRESULT responseStatus ;  
    size_t responseCompletionUriSize;  
    const char* responseCompletionUri;  
} XGameUiWebAuthenticationResultData  
```

### 멤버

*responseStatus*
형식: HRESULT

웹 뷰 인증의 상태를 나타냅니다. 성공하면 `S_OK`이고, 사용자가 뒤로 버튼을 눌러 웹 뷰를 수동으로 닫은 경우 `E_CANCELLED`입니다.

*responseCompletionUriSize*\
형식: size\_t

*responseCompletionUri*에 저장된 응답 데이터의 크기(바이트)입니다.

*responseCompletionUri*\
형식: const char\*

URI 형식으로 포함된 전체 응답 데이터입니다.

## 설명

[XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult)를 호출한 후 이 구조체에 액세스할 수 있습니다.

*responseStatus* 필드를 확인하여 권한 부여 요청이 성공했는지 여부를 확인할 수 있습니다. 인증 브라우저가 완료 URI로 성공적으로 이동한 경우 이 필드에는 `S_OK`가 포함되고, 그렇지 않으면 사용자가 뒤로 버튼을 눌러 취소했음을 나타내는 `E_CANCELLED`가 포함됩니다.

권한 부여 요청이 성공한 경우 응답 데이터에는 기본 콜백 URI와 사용자 인증 결과로 OAuth 공급자가 추가한 모든 매개 변수(액세스 토큰, 만료 시간 등)가 포함됩니다.

권한 부여 요청이 취소된 경우 응답 데이터는 null 문자열이 됩니다.

## 요구 사항

**헤더:** XGameUI.h

**지원 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XGameUI](/reference/system/xgameui/xgameui_members)\
[XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync)\
[XGameUiShowWebAuthenticationResultSize](/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize)\
[XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult)\
[비동기 프로그래밍 모델](/build/core-features/common/async/async-programming-model)


## Related topics

- [XGameUiShowWebAuthenticationResult](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiShowWebAuthenticationResultSize](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize.md)
- [XGameUiShowWebAuthenticationAsync](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
- [XGameUiShowWebAuthenticationWithOptionsAsync](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUI](/ko/reference/system/xgameui/xgameui_members.md)
