Partilhar via


AuthenticationInfo structure

 
Microsoft Office Live Communications Server 2005 with SP1

AuthenticationInfo

The AuthenticationInfo structure contains a security context for a SIP message, as well as a set of Boolean properties that describe the connection type and authentication.

This structure is automatically populated whenever a Request or Response message object is dispatched to the application, and is referenced by the Message.AutheticationInfo read-only property inherited by both message types.

Public Methods

The AuthenticationInfo structure has the following public methods.

Method Description
Equals(Object)

Inherited from System.ValueType. Indicates whether this instance and a specified object are equal.

GetHashCode()

Inherited from System.ValueType. Returns the hash code for this instance.

GetType()

Inherited from System.Object. Gets the Type of the current instance.

ToString()

Inherited from System.ValueType. Returns the fully qualified type name of this instance.

Public Properties

The AuthenticationInfo structure has the following public properties.

Property Description
Authenticated Data type: Boolean
Access type: Read-only

Indicates whether the message sender has been authenticated.

CertificateAuthorized Data type: Boolean
Access type: Read-only

Indicates whether the certificate from the message sender is validated by a certificate signing authority.

ConnectionAuthorizationEnabled Data type: Boolean
Access type: Read-only

Indicates whether authorization is enabled for the connection by which the message arrived.

MtlsConnection Data type: Boolean
Access type: Read-only

Indicates whether the message was received over a Mutually authenticated Transport Layer Security (MTLS) connection.

Origin Data type: MessageOrigin
Access type: Read-only

Specifies the origin of a SIP message.

ReceivedFromInternalServer Data type: Boolean
Access type: Read-only

Indicates whether the message was received from an internal server.

SecurityToken Data type: IntPtr
Access type: Read-only

Contains a Win32 handle for the security token of the message sender as an IntPtr.

TrustedConnection Data type: Boolean
Access type: Read-only

Indicates whether the message was received over a trusted connection.

Protected Methods

The AuthenticationInfo structure has the following protected methods.

Method Description
Finalize()

Inherited from System.Object. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

MemberwiseClone()

Inherited from System.Object. Creates a shallow copy of the current Object.

Requirements

Redistributable: Requires Microsoft Office Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.