Bug 58619 - [Binding] Security.Authorization
Summary: [Binding] Security.Authorization
Status: CONFIRMED
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.6
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-08-07 14:36 UTC by Aaron Bockover [MSFT]
Modified: 2017-09-21 14:54 UTC (History)
3 users (show)

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


Attachments

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.