Share via


REQUESTEDTOKENPOLICY

Contains information about the requested token policy. This structure is populated directly from the parameters in the infocard HTML object tag or binary behavior (XHTML).

typedef struct _REQUESTEDTOKENPOLICY{
        DWORD                   Flags;
        SERVICEIDENTITY         Recipient;
        SERVICEIDENTITY         Issuer;
        BSTR                    TokenType;
        SAFEARRAY(BSTR)         RequiredClaims;
        SAFEARRAY(BSTR)         OptionalClaims;
        BSTR                    PrivacyUrl;
        VARIANT                 PrivacyVersion;
    }REQUESTEDTOKENPOLICY;

Parameters

Member Description

Flags

Emitted from icardie.idl and is defined as 1. Valid values are POLICYFLAG_V1, which specifies that the policy structure is the Versions 1 policy structure.

Recipient

The URL the browser loaded.

Issuer

Should be drawn from the value of the issuer parameter in the application/x-informationCard object tag.

TokenType

A string URI describing the form of the XML token generated. This value should be extracted from the tokenType argument in the object tag or XHTML tag.

RequiredClaims

A SafeArray of binary strings (BSTR) that contains a list of claims that are required to be supported. The array contains values drawn from the requiredClaims parameter in the application/x-informationCard object tag. Alternatively in the XHTML markup model, this may be drawn from the claimType values where optional is false.

Note   A minimum of one claim is required.

OptionalClaims

A SafeArray of binary strings (BSTR) that contains a list of claims that are optional and need not be supported. The values are drawn from the requiredClaims parameter in the application/x-informationCard object tag. Alternatively in the XHTML markup model, this may be drawn from the claimType values where optional is true.

PrivacyUrl

The URL of the privacy statement. The value is drawn from the privacyUrl parameter in the application/x-informationCard object tag.

PrivacyVersion

The version number of the privacy statement referenced by privacyUrl. The value is drawn from the privacyUrl parameter in the application/x-informationCard object tag, and is an integer. The data type is a Variant type to allow for NULL values.

See Also

Reference

SERVICEIDENTITY

Copyright © 2007 by Microsoft Corporation. All rights reserved.