From: Hans Leidekker hans@codeweavers.com
--- ...ndows.security.authentication.onlineid.idl | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+)
diff --git a/include/windows.security.authentication.onlineid.idl b/include/windows.security.authentication.onlineid.idl index a96518f78cc..ee1ad0a81f7 100644 --- a/include/windows.security.authentication.onlineid.idl +++ b/include/windows.security.authentication.onlineid.idl @@ -37,6 +37,7 @@ namespace Windows.Security.Authentication.OnlineId { interface IOnlineIdSystemIdentity; interface IOnlineIdSystemTicketResult;
+ runtimeclass OnlineIdServiceTicket; runtimeclass OnlineIdServiceTicketRequest; runtimeclass OnlineIdSystemAuthenticator; runtimeclass OnlineIdSystemAuthenticatorForUser; @@ -60,6 +61,18 @@ namespace Windows.Security.Authentication.OnlineId { ServiceConnectionError = 2, };
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket), + uuid(c95c547f-d781-4a94-acb8-c59874238c26) + ] + interface IOnlineIdServiceTicket : IInspectable + { + [propget] HRESULT Value([out, retval] HSTRING *value); + [propget] HRESULT Request([out, retval] Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest **value); + [propget] HRESULT ErrorCode([out, retval] INT32 *value); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.Security.Authentication.OnlineId.OnlineIdServiceTicketRequest), @@ -115,6 +128,17 @@ namespace Windows.Security.Authentication.OnlineId { HRESULT GetForUser([in] Windows.System.User *user, [out, retval] Windows.Security.Authentication.OnlineId.OnlineIdSystemAuthenticatorForUser **value); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 4.0), + exclusiveto(Windows.Security.Authentication.OnlineId.OnlineIdSystemIdentity), + uuid(743cd20d-b6ca-434d-8124-53ea12685307) + ] + interface IOnlineIdSystemIdentity : IInspectable + { + [propget] HRESULT Ticket([out, retval] Windows.Security.Authentication.OnlineId.OnlineIdServiceTicket **value); + [propget] HRESULT Id([out, retval] HSTRING *value); + } + [ contract(Windows.Foundation.UniversalApiContract, 4.0), exclusiveto(Windows.Security.Authentication.OnlineId.OnlineIdSystemTicketResult), @@ -127,6 +151,15 @@ namespace Windows.Security.Authentication.OnlineId { [propget] HRESULT ExtendedError([out, retval] HRESULT *value); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + marshaling_behavior(agile) + ] + runtimeclass OnlineIdServiceTicket + { + [default] interface Windows.Security.Authentication.OnlineId.IOnlineIdServiceTicket; + } + [ activatable(Windows.Security.Authentication.OnlineId.IOnlineIdServiceTicketRequestFactory, Windows.Foundation.UniversalApiContract, 1.0), contract(Windows.Foundation.UniversalApiContract, 1.0),