Bug 58619 - [Binding] Security.Authorization
Summary: [Binding] Security.Authorization
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) (show other bugs)
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: 15.7
Assignee: Bugzilla
Depends on:
Reported: 2017-08-07 14:36 UTC by Aaron Bockover [MSFT]
Modified: 2017-12-11 17:30 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Aaron Bockover [MSFT] 2017-08-07 14:36:38 UTC
Security.Authorization is missing bindings to useful APIs. In fact, the only API it does expose (AuthorizationExecuteWithPrivileges), is actually deprecated since 10.7 and should be updated with availability information.

Further it at a minimum needs bindings for the "external form" APIs, so the authorization can be passed to another process (like /usr/libexec/authopen).

It also needs a ctor override to indicate ownership of the underlying native reference since this will be required for proper `SFAuthorization` support.

The AuthorizationFlags enum needs to be updated to add `NoData = 1 << 20`.
Comment 1 Chris Hardy [MSFT] 2017-09-21 14:54:09 UTC
Moving out to 15.6

Note You need to log in before you can comment on or make changes to this bug.