<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "applicensedeliverysdk",
  "identifier" : "/documentation/AppLicenseDeliverySDK/ALDProvider/createSession(clientRequest:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App License Delivery SDK"
    ],
    "preciseIdentifier" : "s:3ALD11ALDProviderC13createSession13clientRequestAA10ALDSessionCSays5UInt8VG_tKF"
  },
  "title" : "createSession(clientRequest:)"
}
-->

# createSession(clientRequest:)

Creates an ALD Session

```
func createSession(clientRequest: [UInt8]) throws -> ALDSession
```

## Parameters

`clientRequest`

license request in actual bytes format

## Return Value

an ALD session on success, or nil when fails

---

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)