Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the client proxy class for the authentication service.
Namespace: Sys.Services
Inherits: None
Members
Name |
Description |
---|---|
Initializes a new instance of the Sys.Services.AuthenticationService class. |
|
Sys.Services.AuthenticationService.DefaultWebServicePath Field |
Specifies the path of the default authentication service. |
Authenticates the user's credentials. |
|
Logs out the currently authenticated user. |
|
Sys.Services AuthenticationService defaultFailedCallback Property |
Gets or sets the name of the default failed callback function. |
Sys.Services AuthenticationService defaultLoginCompletedCallback Property |
Gets or sets the name of the default login-completed callback function. |
Sys.Services AuthenticationService defaultLogoutCompletedCallback Property |
Gets or sets the name of the default logout-completed callback function. |
Sys.Services AuthenticationService defaultSucceededCallback Property |
Gets or sets the default succeeded callback function for the service. |
Sys.Services AuthenticationService defaultUserContext Property |
Gets or sets the default user context for the service. |
Gets the authentication state of the current user. |
|
Gets or sets the authentication service path. |
|
Gets or sets the authentication service time-out. |
Remarks
The AuthenticationService class provides script access to user authentication. It calls methods of the authentication service through the same infrastructure used to call any other Web service method.
Note
The built-in authentication service is located on the server in a predefined location.
The AuthenticationService class is a singleton; it has only one instance with a global point of access. It is always available to your application and you do not have to instantiate it.
Example
Description
The following example shows how to use the AuthenticationService class to check whether a user is authenticated. For more information, see Using Forms Authentication with ASP.NET AJAX.