---
title: "createSession(clientRequest:)"
framework: applicensedeliverysdk
role: symbol
role_heading: Instance Method
path: "applicensedeliverysdk/aldprovider/createsession(clientrequest:)"
---

# createSession(clientRequest:)

Creates an ALD Session

## Declaration

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

## Parameters

- `clientRequest`: License request in actual bytes format

## Mentioned in

Licensing alternative distribution apps

## Return Value

Return Value An ALD session on success, or nil when fails
