IWorkspace3::GetClaimsToken2 method

Retrieves a claims token.

Syntax

HRESULT GetClaimsToken2(
  BSTR  bstrClaimsHint,
  BSTR  bstrUserHint,
  ULONG claimCookie,
  ULONG hwndCredUiParent,
  RECT  rectCredUiParent,
  BSTR  *pbstrAccessToken
);

Parameters

bstrClaimsHint

String containing the claims hint.

bstrUserHint

String containing the user hint.

claimCookie

The claim cookie.

hwndCredUiParent

Handle of the parent UI element the request came from.

rectCredUiParent

Pointer to a RECT structure that contains the X and Y coordinates of the parent UI.

pbstrAccessToken

On success, return a pointer to a string containing the access token.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Windows version Windows 10 [desktop apps only] Windows Server 2016
Target Platform Windows
Header workspaceruntime.h

See Also

IWorkspace3