Compartilhar via


SecurityTokenService 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.]

The abstract class that defines the properties and methods of a security token service (STS).

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

Protected Constructors

  Name Description
  SecurityTokenService Initializes a new instance of the SecurityTokenService class using the specified configuration settings.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Principal Gets or sets the principal associated with the current instance.
public property Request Gets or sets the security token request (RST) associated with the current instance.
public property Scope Gets or sets the scope associated with the current instance.
public property SecurityTokenServiceConfiguration Gets the owner configuration instance.

Top

Protected Properties

  Name Description
protected property SecurityTokenDescriptor Gets or sets the SecurityTokenDescriptor associated with the current instance.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method BeginCancel When overridden in a derived class, begins an asynchronous WS-Trust Cancel request.
public method BeginIssue When overridden in a derived class, begins an asynchronous WS-Trust Issue request.
public method BeginRenew When overridden in a derived class, begins an asynchronous WS-Trust Renew request.
public method BeginValidate When overridden in a derived class, begins an asynchronous WS-Trust Validate request.
public method Cancel When overridden in a derived class, processes a WS-Trust Cancel request.
public method EndCancel When overridden in a derived class, completes the asynchronous WS-Trust Cancel request.
public method EndIssue When overridden in a derived class, completes the asynchronous WS-Trust Issue request.
public method EndRenew When overridden in a derived class, completes the asynchronous WS-Trust Renew request.
public method EndValidate When overridden in a derived class, completes the asynchronous WS-Trust Validate request.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method Issue Issues a security token.
public method Renew When overridden in a derived class, processes a WS-Trust Renew request.
public method ToString  (Inherited from Object)
public method Validate When overridden in a derived class, processes a WS-Trust Validate request.

Top

Protected Methods

  Name Description
protected method BeginGetOutputClaimsIdentity When overridden in a derived class, begins an asynchronous call to the GetOutputClaimsIdentity method.
protected method BeginGetScope When overridden in a derived class, begins an asynchronous call for the GetScope method.
protected method CreateSecurityTokenDescriptor Creates an instance of a SecurityTokenDescriptor.
protected method EndGetOutputClaimsIdentity When overridden in a derived class, completes the asynchronous call to the BeginGetOutputClaimsIdentity method.
protected method EndGetScope When overridden in a derived class, completes the asynchronous call to the BeginGetScope method.
protected method Finalize  (Inherited from Object)
protected method GetDisplayToken Gets the DisplayToken to be included in the response (RSTR).
protected method GetIssuerName Gets the name of the security token service (STS).
protected method GetOutputClaimsIdentity When overridden in a derived class, this method returns a collection of output subjects to be included in the issued token.
protected method GetProofToken Gets the proof token to be included in the response (RSTR).
protected method GetRequestorProofEncryptingCredentials Gets the requestor's proof encrypting credentials.
protected method GetResponse Creates the response (RSTR) and reads the information from TokenDescriptor and applies it to the RSTR.
protected method GetScope Gets a Scope object that contains information about the relying party (RP) associated with the specified request (RST). You must override this method in your implementation of the SecurityTokenService class.
protected method GetSecurityTokenHandler Gets an appropriate security token handler for issuing a security token.
protected method GetTokenLifetime Gets the lifetime for the issued token.
protected method MemberwiseClone  (Inherited from Object)
protected method ValidateRequest Validates the security token request (RST) encapsulated by this instance.

Top

See Also

Reference

SecurityTokenService Class
Microsoft.IdentityModel.SecurityTokenService Namespace

Other Resources

Claims Provider - Security Token Service
Claims Issuance Pipeline
Configuration

Copyright © 2008 by Microsoft Corporation. All rights reserved.