MSDN Library

Namespace: System.Security.Authentication

Interface IServerCredentials

Represents the credentials used by a server to authenticate a client. This interface is typically implemented by classes that provide specific authentication mechanisms, such as username/password, certificates, or tokens.

Syntax

public interface IServerCredentials

Remarks

The IServerCredentials interface is a fundamental part of the security authentication framework in .NET. It defines a contract that any class wishing to represent server-side credentials must adhere to. This promotes interoperability and allows different authentication providers to be used interchangeably.

Implementations of this interface are responsible for securely managing and providing the necessary information for a server to verify the identity of a connecting client. This can involve various security protocols and algorithms.

Members

Methods

Name Description
AuthenticateClient Attempts to authenticate the client using the provided credentials.

Parameters:
  • clientContext: The context of the client connection.
  • credentials: The credentials provided by the client.
Returns:

true if authentication is successful; otherwise, false.

Requirements

Feature Requirement
Namespace System.Security.Authentication
Assembly mscorlib.dll

See Also