corelibraries-devexpress-dot-reportserver-dot-servicemodel-dot-client.md
Provides the client-side functionality for the Report and Dashboard Server authentication service.
Namespace : DevExpress.ReportServer.ServiceModel.Client
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public class AuthenticationServiceClient :
ServiceClientBase,
IAuthenticationServiceClient,
IServiceClientBase
Public Class AuthenticationServiceClient
Inherits ServiceClientBase
Implements IAuthenticationServiceClient,
IServiceClientBase
To provide a custom authentication service to a RemoteDocumentSource, handle the RemoteDocumentSource.AuthenticationServiceClientDemanded event.
To automatically create a AuthenticationServiceClient , you can use the AuthenticationServiceClientFactory.Create method of an AuthenticationServiceClientFactory.
A FormsAuthenticationEndpointBehavior should be passed to both an authentication service and report service before each authentication attempt at the Report Server. This class traces the authentication cookie by using a FormsAuthenticationMessageInspector.
If the clients’ configuration is provided via the applicaiton’s .config file, the behavior of both these configurations must be specified in the same file.
The clients of an authentication service and the Report Server must share the cookie created on login.
Object DevExpress.Data.Utils.ServiceModel.ServiceClientBase AuthenticationServiceClient
See Also
AuthenticationServiceClient Members