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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.