<!--
{
  "documentType" : "article",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/odsession-option-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "ODSession Option Keys"
}
-->

# ODSession Option Keys

Option keys used when creating a session directed over a proxy.

## Topics

### Constants

[`let ODSessionProxyAddress: String`](/documentation/OpenDirectory/ODSessionProxyAddress)

The address to connect to via proxy. The value is of type `NSString`.

[`let ODSessionProxyPort: String`](/documentation/OpenDirectory/ODSessionProxyPort)

The port to connect to via proxy. The value is of type `NSNumber`.

[`let ODSessionProxyUsername: String`](/documentation/OpenDirectory/ODSessionProxyUsername)

The username to connect with via proxy. The value is of type `NSString`.

[`let ODSessionProxyPassword: String`](/documentation/OpenDirectory/ODSessionProxyPassword)

The password to connect with via proxy. The value is of type `NSString`.



---

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)