Jump to main content

##

# TCPIP_TELNET_AuthenticationDeregister Function

## C

    bool TCPIP_TELNET_AuthenticationDeregister(
        TCPIP_TELNET_HANDLE authHandle
    );

## Description

This function removes a authentication handler.

## Preconditions

Telnet properly initialized.

## Parameters

Parameters | Description
--- | ---
authHandler | TCPIP_TELNET_HANDLE obtained by a call to TCPIP_TELNET_AuthenticationRegister().

## Returns

- True - If the operation succeeded.
- False - If the operation failed.

## Remarks

The build should have TCPIP_TELNET_OBSOLETE_AUTHENTICATION == false.

## Example

    TCPIP_TELNET_HANDLE myHandle = TCPIP_TELNET_AuthenticationRegister(myAuthHandler, myParam );
    // process incoming login requests
    // now we're done with it
    // no more users will be able to login
    TCPIP_TELNET_AuthenticationDeregister(myHandle);