<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationResult/init(httpResponse:httpBody:)-2j92m",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationProviderExtensionAuthorizationResult(im)initWithHTTPResponse:httpBody:"
  },
  "title" : "init(httpResponse:httpBody:)"
}
-->

# init(httpResponse:httpBody:)

Initializes an authorization with a HTTP response and body.

```
init(httpResponse: HTTPURLResponse, httpBody: Data?)
```

## Parameters

`httpResponse`

The HTTP response.

`httpBody`

The HTTP body.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)