Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application rights.




On 2008 May, 22, at 9:46, Sherm Pendley wrote:

On Thu, May 22, 2008 at 12:08 PM, Joseph Kelly <email@hidden> wrote:

Also a question: does anyone know of a Cocoa/obj-C wrapper around
auth-framework? It might be a useful sort of project/tool ;-)

I don't know what is meant by "auth-framework", but...

Apple provides an Objective-C interface. It lacks an
AuthorizationExecuteWithPrivileges() method, but I think that Apple omitted
that deliberately.

Yes, I believe the idea is that you need to make a tool as in BetterAuthorizationSample to do that. I did make what I consider to be a "more Cocoa" version of the demo in BetterAuthorizationSample last month. The project includes a Cocoa framework which you can use in your app to access your tool, which is I believe about as close as you can come to having a "Cocoa/obj-C wrapper".


No known bugs. Needs more testing, but since I guess nothing is never done, what the hell, here you go...

http://www.sheepsystems.com/sourceCode/authTasksCocoa.html

Note: The HeaderDoc documentation in there covers only the framework.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Application rights. (From: "Eugen Belyakov" <email@hidden>)
 >Re: Application rights. (From: Joseph Kelly <email@hidden>)
 >Re: Application rights. (From: "Sherm Pendley" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.