Internet Direct (Indy)
Home
PreviousUpNext
TIdAuthenticationManager.AddAuthentication Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.