IWorkspace3::SetClaimsToken method (workspaceruntime.h)

Sets the claims token.

Syntax

HRESULT SetClaimsToken(
  [in] BSTR      bstrAccessToken,
  [in] ULONGLONG ullAccessTokenExpiration,
  [in] BSTR      bstrRefreshToken
);

Parameters

[in] bstrAccessToken

A string containing the access token.

[in] ullAccessTokenExpiration

The time, in milliseconds, until the access token expires.

[in] bstrRefreshToken

A string containing the refresh token.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016
Target Platform Windows
Header workspaceruntime.h

See also

IWorkspace3