Share via


WSFederationSerializer Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Provides methods to convert a WS-Federation message to RequestSecurityToken and RequestSecurityTokenResponse objects, which are WS-Trust protocol specific.

The following tables list the members exposed by the WSFederationSerializer type.

Public Constructors

  Name Description
  WSFederationSerializer Overloaded. Initializes a new instance of the WSFederationSerializer class.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CanReadRequest Checks whether the specified string is a wst:RequestSecurityToken message with a namespace that is recognized by the wrapped WSTrustRequestSerializer.
public method CanReadResponse Checks whether the specified string is a wst:RequestSecurityTokenResponse message with a namespace that is recognized by the wrapped WSTrustResponseSerializer.
public method CreateRequest Converts a WS-Federation Sign-In Request message to a RequestSecurityToken object that the security token service (the SecurityTokenService class) can consume.
public method CreateResponse Converts a WS-Federation Sign-In Response message object to a RequestSecurityTokenResponse object.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetReferencedRequest Gets the wreq string from a referenced URL.
public method GetReferencedResult Gets the wresult string from a referenced URL.
public method GetRequestAsString Serializes the specified RequestSecurityToken object into a string.
public method GetResponseAsString Serializes the specified RequestSecurityTokenResponse object into a string.
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

WSFederationSerializer Class
Microsoft.IdentityModel.Protocols.WSFederation Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.