wxSQLite3 4.9.12
|
Interface for a user defined authorizer function. More...
#include <wxsqlite3.h>
Public Member Functions | |
virtual | ~wxSQLite3Authorizer () |
Virtual destructor. | |
virtual wxAuthorizationResult | Authorize (wxAuthorizationCode type, const wxString &arg1, const wxString &arg2, const wxString &arg3, const wxString &arg4, const wxString &arg5)=0 |
Execute the authorizer function. | |
Static Public Member Functions | |
static wxString | AuthorizationCodeToString (wxSQLite3Authorizer::wxAuthorizationCode type) |
Convert authorization code to string. | |
Interface for a user defined authorizer function.
Codes identifying the command for which authorization is requested.
|
inlinevirtual |
Virtual destructor.
|
static |
Convert authorization code to string.
type | wxAuthorizationCode. The value signifies what kind of operation is to be authorized. |
|
pure virtual |
Execute the authorizer function.
Please refer to the SQLite documentation for further information about the meaning of the parameters.
type | wxAuthorizationCode. The value signifies what kind of operation is to be authorized. |
arg1 | first argument (value depends on "type") |
arg2 | second argument (value depends on "type") |
arg3 | third argument (name of database if applicable) |
arg4 | fourth argument (name of trigger or view if applicable) |
arg5 | fifth argument (name of authorized user or empty if user authentication is not activated) |