SFAuthorization class allows you to restrict a user’s access to particular features in your Mac app or daemon.
- macOS 10.10+
SFAuthorization class is an Objective-C interface for some of the functions in the Authorization Services API. You can use the
authorizationRef() method to obtain an authorization reference, used in other calls to Authorization Services functions. The Authorization Services API is documented in Authorization Services C.