|
@@ -395,7 +395,7 @@ type AuthorizationEnvironmentPtr = ^AuthorizationEnvironment;
|
|
|
The reason for passing in this flag is to provide correct audit trail information and to avoid unnecessary user interaction.
|
|
|
|
|
|
@param rights (input/optional) An AuthorizationItemSet containing rights for which authorization is being requested. If none are specified the resulting AuthorizationRef will authorize nothing at all.
|
|
|
- @param environment (input/optional) An AuthorizationItemSet containing environment state used when making the autorization decision. See the AuthorizationEnvironment type for details.
|
|
|
+ @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the autorization decision. See the AuthorizationEnvironment type for details.
|
|
|
@param flags (input) options specified by the AuthorizationFlags enum. set all unused bits to zero to allow for future expansion.
|
|
|
@param authorization (output optional) A pointer to an AuthorizationRef to be returned. When the returned AuthorizationRef is no longer needed AuthorizationFree should be called to prevent anyone from using the aquired rights. If NULL is specified no new rights are returned, but the system will attempt to authorize all the requested rights and return the appropriate status.
|
|
|
|
|
@@ -450,7 +450,7 @@ function AuthorizationFree( authorization: AuthorizationRef; flags: Authorizatio
|
|
|
|
|
|
@param authorization (input) The authorization object on which this operation is performed.
|
|
|
@param rights (input) A rights set (see AuthorizationCreate).
|
|
|
- @param environment (input/optional) An AuthorizationItemSet containing environment state used when making the autorization decision. See the AuthorizationEnvironment type for details.
|
|
|
+ @param environment (input/optional) An AuthorizationItemSet containing enviroment state used when making the autorization decision. See the AuthorizationEnvironment type for details.
|
|
|
@param flags (input) options specified by the AuthorizationFlags enum. set all unused bits to zero to allow for future expansion.
|
|
|
@param authorizedRights (output/optional) A pointer to a newly allocated AuthorizationInfoSet in which the authorized subset of rights are returned (authorizedRights should be deallocated by calling AuthorizationFreeItemSet() when it is no longer needed). If NULL the only information returned is the status. Note that if the kAuthorizationFlagPreAuthorize flag was specified rights that could not be preauthorized are returned in authorizedRights, but their flags contains the kAuthorizationFlagCanNotPreAuthorize bit.
|
|
|
|