Indy 9 | Content | Index | Reference

FindAuthClass
See Also, Unit: IdAuthentication
Retrieves a class instance to be used for the specified authentication method.

    function FindAuthClass(AuthName: String): TIdAuthenticationClass;

Unit
IdAuthentication
Parameters
AuthName: String
Authentication method to be used by the framework.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.