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
- Inherits ERUCES::TEAuthenticationContext
Private Func
| Member | Description |
|---|---|
TECodeAuthenticationContext() | The TECodeAuthenticationContext constructor is the default class constructor. |
TECodeAuthenticationContext(const TECodeAuthenticationContext &) | The TECodeAuthenticationContext constructor copies a TEAuthenticationContext object. |
Public Member Functions
| Member | Description |
|---|---|
~TECodeAuthenticationContext() | The TECodeAuthenticationContext destructor is the class destructor. |
te_oid authenticate() | The authenticate method authenticates a principal. |
TEObject * TECodeAuthenticationContext::clone() const | The clone method clones the TECodeAuthenticationContext object. |
Static Public Member Functions
| Member | Description |
|---|---|
_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.