Topic Path: Symbol Reference > Classes > TIdAuthenticationManager Class > TIdAuthenticationManager Methods > AddAuthentication Method
ContentsIndexHome
PreviousUpNext
TIdAuthenticationManager.AddAuthentication Method

Adds a new authentication mechanism to the collection for the component,

procedure AddAuthentication(
    AAuthtetication: TIdAuthentication; 
    AURL: TIdURI
);
Parameters 
Description 
AAuthtetication 
Authentication mechanism to add.
 
AURL 
Resource locator for the authentication. 

AddAuthentication is a convenience procedure that creates a new authentication class instance in the Authentications collection maintained by the component. 

AddAuthentication calls the Add method for the Authentications collection, and sets the URL and Params values maintained in the new collection item based on values in the AAuthtetication and AURL parameters.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.