Partager via


authentication Element

You use the authentication element to configure the authentication settings that the CommerceAuthenticationModule class uses.

The authentication element is required, and is a child of the CommerceServer container element.

The following table lists and describes the attributes of the authentication element.

Attribute

Data Type

Description

detectCookies

String

Determines whether an application attempts to detect whether the current user's browser is configured to accept cookies. You can set this attribute to enable applications to revert to URL-mode authentication.

The value of this attribute must represent a Boolean. If the value is true, the application will detect the browser configuration. If false, the browser will not attempt the detection.

This attribute is required.

Example

<authentication detectCookies="true"/>

See Also

Reference

AuthenticationInfo

AuthTicket

CommerceAuthenticationModule