SecurityTokenHandlerCollection.AddOrReplace(SecurityTokenHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.