Enumeration

Authorization Services Result Codes

Recognize result codes specific to the authorization services API.

Declaration

enum : OSStatus {
    ...
};

Overview

Use the SecCopyErrorMessageString function to obtain a human readable string corresponding to these status codes.

The functions of the Authorization Services API may also return the general codes listed in Security Framework Result Codes.

Topics

Codes

errAuthorizationSuccess

The operation completed successfully.

errAuthorizationInvalidSet

The set parameter is invalid.

errAuthorizationInvalidRef

The authorization parameter is invalid.

errAuthorizationInvalidTag

The tag parameter is invalid.

errAuthorizationInvalidPointer

The authorizedRights parameter is invalid.

errAuthorizationDenied

The Security Server denied authorization for one or more requested rights.

errAuthorizationCanceled

The user canceled the operation.

errAuthorizationInteractionNotAllowed

The Security Server denied authorization because no user interaction is allowed.

errAuthorizationInternal

An unrecognized internal error occurred.

errAuthorizationExternalizeNotAllowed

The Security Server denied externalization of the authorization reference.

errAuthorizationInternalizeNotAllowed

The Security Server denied internalization of the authorization reference.

errAuthorizationInvalidFlags

The flags parameter is invalid.

errAuthorizationToolExecuteFailure

The tool failed to execute.

errAuthorizationToolEnvironmentError

The attempt to execute the tool failed to return a success or an error code.

errAuthorizationBadAddress

The requested socket address is invalid.