Re: Prevent screen saver from starting, but don't prevent computer sleep
Re: Prevent screen saver from starting, but don't prevent computer sleep
- Subject: Re: Prevent screen saver from starting, but don't prevent computer sleep
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Mon, 29 Jun 2020 16:22:28 +0200
>
> Otherwise, if sandboxing, refer to this discussion.
> https://stackoverflow.com/questions/21956946/authenticate-user-objective-c-cocoa-sandboxing
>
> <https://stackoverflow.com/questions/21956946/authenticate-user-objective-c-cocoa-sandboxing>
Thanks a lot for the link.
After carefully reading the docs, it seems to me this will not work in
sandboxed apps.
So, is there a simple API that would allow me to
1. ask the user to authorize herself/himself;
note: I don't care for user name / password
2. on return, tells me whether or not the user provided the correct credentials
.
Before the user has authenticated, he/she should not be able to anything else
in my app (shouldn't be able to quit, or make any other user interaction).
It should work in a sandboxed app.
Thanks a lot in advance for all kinds of hints and insights.
Best regards, Gabriel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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:
This email sent to email@hidden