Internet Direct (Indy) Version 9.0.2 Beta
FindAuthClass
Retrieves a class instance to be used for the specified authentication method.

function FindAuthClass(AuthName: String): TIdAuthenticationClass;
Parameters
AuthName: String
Authentication method to be used by the framework.

Returns
TIdAuthenticationClass - Authentication class instance for the requested method.

Description
FindAuthClass is a TIdAuthenticationClass function that retrieves an authentication class instance that can be used for the authentication scheme identified in AuthName. Authentication classes are retrieved form the list of registered authentication classes created by RegisterAuthenticationMethod.

FindAuthClass is used in TIdHTTP to locate the authentication class to be used in support of the WWW-Authenticate header in the HTTP Response.