Skip to main content

ERUCES::TECodeAuthenticationContext

#include <teauthcodectx.h>

The TECodeAuthenticationContext class represents a code-based principal authentication context.

Some restrictions may apply. This class is derived from the TEAuthenticationContext class.

Inheritance

Private Func

MemberDescription
TECodeAuthenticationContext()The TECodeAuthenticationContext constructor is the default class constructor.
TECodeAuthenticationContext(const TECodeAuthenticationContext &)The TECodeAuthenticationContext constructor copies a TEAuthenticationContext object.

Public Member Functions

MemberDescription
~TECodeAuthenticationContext()The TECodeAuthenticationContext destructor is the class destructor.
te_oid authenticate()The authenticate method authenticates a principal.
TEObject * TECodeAuthenticationContext::clone() constThe clone method clones the TECodeAuthenticationContext object.

Static Public Member Functions

MemberDescription
_TESTD auto_ptr< TECodeAuthenticationContext > getInstance()Creates a new TECodeAuthenticationContext object.

Member Function Documentation

TECodeAuthenticationContext()

The TECodeAuthenticationContext constructor is the default class constructor.

TECodeAuthenticationContext(const TECodeAuthenticationContext &)

The TECodeAuthenticationContext constructor copies a TEAuthenticationContext object.

~TECodeAuthenticationContext()

The TECodeAuthenticationContext destructor is the class destructor.

te_oid authenticate()

The authenticate method authenticates a principal.

Returns: Returns a long integer representing a principal ID.

TEObject * TECodeAuthenticationContext::clone() const

The clone method clones the TECodeAuthenticationContext object.

Returns: Cloned TECodeAuthenticationContext object

_TESTD auto_ptr< TECodeAuthenticationContext > getInstance()

Creates a new TECodeAuthenticationContext object.

Returns: Returns a smart pointer to a TECodeAuthenticationContext object.