Structure

AuthorizationExternalForm

The external representation of an authorization reference.

Declaration

struct AuthorizationExternalForm

Overview

Authorization references are bound by session, process, and time limits, so you can't store the authorization references for another process to use. Use the functions AuthorizationMakeExternalForm(_:_:) and AuthorizationCreateFromExternalForm(_:_:) to externalize and internalize the authorization reference. Apps should take care not to disclose the external authorization reference to potential attackers since any process can use this external authorization reference to access the authorization reference.

See Also

Import and Export

let kAuthorizationExternalFormLength: Int

The number of bytes in an external form structure's array.