Επεξεργασία

Κοινή χρήση μέσω


SecurityTokenHandlerCollection.AddOrReplace(SecurityTokenHandler) Method

Definition

Adds the specified token handler to this collection. If a handler with the same token type identifier as the specified handler already exists in the collection, it is replaced with the specified handler.

public:
 void AddOrReplace(System::IdentityModel::Tokens::SecurityTokenHandler ^ handler);
public void AddOrReplace (System.IdentityModel.Tokens.SecurityTokenHandler handler);
member this.AddOrReplace : System.IdentityModel.Tokens.SecurityTokenHandler -> unit
Public Sub AddOrReplace (handler As SecurityTokenHandler)

Parameters

handler
SecurityTokenHandler

The token handler to add to the collection.

Applies to