Echoes back the incoming ClaimsIdentities.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As ClaimsAuthenticationManager
Dim resourceName As String
Dim incomingPrincipal As IClaimsPrincipal
Dim returnValue As IClaimsPrincipal

returnValue = instance.Authenticate(resourceName, incomingPrincipal)

Syntax

Visual Basic
Public Overridable Function Authenticate ( _
		resourceName As String, _
		incomingPrincipal As IClaimsPrincipal _
) As IClaimsPrincipal
C#
public virtual IClaimsPrincipal Authenticate (
		string resourceName,
		IClaimsPrincipal incomingPrincipal
)
C++
public:
virtual IClaimsPrincipal^ Authenticate (
		String^ resourceName, 
		IClaimsPrincipal^ incomingPrincipal
)
J#
public IClaimsPrincipal Authenticate (
		String resourceName, 
		IClaimsPrincipal incomingPrincipal
)
JScript
public function Authenticate (
		resourceName : String, 
		incomingPrincipal : IClaimsPrincipal
) : IClaimsPrincipal

Parameters

resourceName

The address to which the request was sent.

incomingPrincipal

The credentials presented by the client (in the form of a SecurityToken) to access a resource at resourceName.

Return Value

The IClaimsPrincipal given to the method.

Exceptions

Exception type Condition

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also