---
title: "OBEXAddAuthorizationResponseHeader(_:_:_:)"
framework: IOBluetooth
role: symbol
role_heading: Function
path: "iobluetooth/obexaddauthorizationresponseheader(_:_:_:)"
---

# OBEXAddAuthorizationResponseHeader(_:_:_:)

Add an authorization Response header to a dictionary of OBEXheaders.

## Declaration

```swift
func OBEXAddAuthorizationResponseHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError
```

## Parameters

- `inHeaderData`: Bytes you want to put in the authorization Response header.
- `inHeaderDataLength`: Length of the bytes you want to put in authorization Response header.
- `dictRef`: Dictionary you have allocated to hold the headers. Make sure it’s mutable.

## Return Value

Return Value Error code, kOBEXSuccess (0) if success.

## Discussion

Discussion Authorization Response header - OBEX Spec, 2.2.14: Authorization Response.

## See Also

### Miscellaneous

- [OBEXAddApplicationParameterHeader(_:_:_:)](iobluetooth/obexaddapplicationparameterheader(_:_:_:).md)
- [OBEXAddAuthorizationChallengeHeader(_:_:_:)](iobluetooth/obexaddauthorizationchallengeheader(_:_:_:).md)
- [OBEXAddBodyHeader(_:_:_:_:)](iobluetooth/obexaddbodyheader(_:_:_:_:).md)
- [OBEXAddByteSequenceHeader(_:_:_:)](iobluetooth/obexaddbytesequenceheader(_:_:_:).md)
- [OBEXAddConnectionIDHeader(_:_:_:)](iobluetooth/obexaddconnectionidheader(_:_:_:).md)
- [OBEXAddCountHeader(_:_:)](iobluetooth/obexaddcountheader(_:_:).md)
- [OBEXAddDescriptionHeader(_:_:)](iobluetooth/obexadddescriptionheader(_:_:).md)
- [OBEXAddHTTPHeader(_:_:_:)](iobluetooth/obexaddhttpheader(_:_:_:).md)
- [OBEXAddLengthHeader(_:_:)](iobluetooth/obexaddlengthheader(_:_:).md)
- [OBEXAddNameHeader(_:_:)](iobluetooth/obexaddnameheader(_:_:).md)
- [OBEXAddObjectClassHeader(_:_:_:)](iobluetooth/obexaddobjectclassheader(_:_:_:).md)
- [OBEXAddTargetHeader(_:_:_:)](iobluetooth/obexaddtargetheader(_:_:_:).md)
- [OBEXAddTime4ByteHeader(_:_:)](iobluetooth/obexaddtime4byteheader(_:_:).md)
- [OBEXAddTimeISOHeader(_:_:_:)](iobluetooth/obexaddtimeisoheader(_:_:_:).md)
- [OBEXAddTypeHeader(_:_:)](iobluetooth/obexaddtypeheader(_:_:).md)
