---
title: "complete(httpResponse:httpBody:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/asauthorizationproviderextensionauthorizationrequest/complete(httpresponse:httpbody:)"
---

# complete(httpResponse:httpBody:)

Indicates the requested authorization succeeded with an HTTP response.

## Declaration

```swift
func complete(httpResponse: HTTPURLResponse, httpBody: Data?)
```

## Parameters

- `httpResponse`: The metadata associated with the HTTP response.
- `httpBody`: The body of the HTTP response.

## See Also

### Completing a Request

- [complete(authorizationResult:)](authenticationservices/asauthorizationproviderextensionauthorizationrequest/complete(authorizationresult:).md)
- [complete()](authenticationservices/asauthorizationproviderextensionauthorizationrequest/complete().md)
- [complete(httpAuthorizationHeaders:)](authenticationservices/asauthorizationproviderextensionauthorizationrequest/complete(httpauthorizationheaders:).md)
- [complete(error:)](authenticationservices/asauthorizationproviderextensionauthorizationrequest/complete(error:).md)
