Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 31) sorted by relevance

12

/sqlite-3.40.0/test/
H A Dauth.test31 if {$name=="auth"} {
36 do_test auth-1.1.1 {
56 do_test auth-1.1.2 {
59 do_test auth-1.1.3 {
61 } {::auth}
62 do_test auth-1.1.4 {
68 do_test auth-1.2 {
74 do_test auth-1.3.1 {
90 do_test auth-1.4 {
125 do_test auth-1.9 {
[all …]
H A Dalterauth.test24 set ::auth [list]
27 lappend ::auth [concat $type [lrange $args 0 3]]
31 db auth xAuth
36 set ::auth [list]
38 set ::auth
42 set ::auth [list]
44 set ::auth
48 set ::auth [list]
50 set ::auth
H A Dauth2.test23 if {[catch {db auth {}} msg]} {
34 proc auth {code arg1 arg2 arg3 arg4 args} {
47 db authorizer ::auth
81 proc auth {args} {
86 db auth auth
H A Dalterauth2.test24 set ::auth [list]
26 lappend ::auth [concat $type [lrange $args 0 3]]
30 db auth xAuth
34 set ::auth \[list\]
36 lsort -unique \[set ::auth\]
H A Dauth3.test22 if {[catch {db auth {}} msg]} {
31 db authorizer ::auth
32 proc auth {code arg1 arg2 arg3 arg4 args} {
119 proc auth {code args} {
H A Dschema.test216 ifcapable auth {
220 db auth noop_auth
228 db auth {}
379 ifcapable {auth} {
385 db auth auth
386 proc auth {args} {
H A Danalyze3.test369 db auth auth
370 proc auth {args} {
371 set ::auth 1
593 db auth auth
594 proc auth {args} {
612 db auth {}
615 db auth auth
621 db auth {}
H A Dvtab3.test19 ifcapable !vtab||!auth {
28 proc auth {code arg1 arg2 arg3 arg4 args} {
54 db authorizer ::auth
H A Dfkey7.test36 proc auth {op tbl args} {
40 db auth auth
H A Dsavepoint.test564 ifcapable auth {
565 proc auth {args} {
569 db auth auth
587 proc auth {args} {
591 db auth auth
610 db auth ""
H A Duserauth01.test245 proc auth {args} {
251 db auth auth
H A Dschema2.test215 ifcapable auth {
218 db auth {}
H A Dfkey2.test1564 ifcapable auth {
1573 proc auth {args} {eval lappend ::authargs [lrange $args 0 4]; return SQLITE_OK}
1574 db auth auth
1631 rename auth {}
1632 proc auth {args} {
1649 db auth {}
H A Dwithout_rowid3.test1626 ifcapable auth {
1635 proc auth {args} {eval lappend ::authargs [lrange $args 0 4]; return SQLITE_OK}
1636 db auth auth
1693 rename auth {}
1694 proc auth {args} {
1711 db auth {}
H A Dfts4aa.test178 db auth ::no_pragma_auth
H A Danalyze9.test907 ifcapable auth {
914 db auth authproc
H A Dtclsqlite.test93 if {[catch {db auth {}}]==0} {
/sqlite-3.40.0/ext/userauth/
H A Duserauth.c97 if( db->auth.zAuthUser==0 ){ in userAuthCheckLogin()
105 sqlite3_bind_blob(pStmt, 1, db->auth.zAuthPW, db->auth.nAuthPW,SQLITE_STATIC); in userAuthCheckLogin()
125 db->auth.authLevel = UAUTH_Admin; in sqlite3UserAuthCheckLogin()
139 db->auth.authLevel = authLevel; in sqlite3UserAuthInit()
203 sqlite3_free(db->auth.zAuthPW); in sqlite3_user_authenticate()
204 memset(&db->auth, 0, sizeof(db->auth)); in sqlite3_user_authenticate()
210 db->auth.nAuthPW = nPW; in sqlite3_user_authenticate()
212 db->auth.authLevel = authLevel; in sqlite3_user_authenticate()
266 if( db->auth.zAuthUser==0 ){ in sqlite3_user_add()
291 authLevel = db->auth.authLevel; in sqlite3_user_change()
[all …]
/sqlite-3.40.0/src/
H A Dauth.c117 ,db->auth.zAuthUser in sqlite3AuthReadCol()
228 ,db->auth.zAuthUser in sqlite3AuthCheck()
H A Dresolve.c1038 int auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0,pDef->zName,0); in resolveExprStep() local
1039 if( auth!=SQLITE_OK ){ in resolveExprStep()
1040 if( auth==SQLITE_DENY ){ in resolveExprStep()
H A Dattach.c221 if( newAuth<db->auth.authLevel ){ in attachFunc()
H A Dmain.c1393 sqlite3_free(db->auth.zAuthUser); in sqlite3LeaveMutexAndCloseZombie()
1394 sqlite3_free(db->auth.zAuthPW); in sqlite3LeaveMutexAndCloseZombie()
/sqlite-3.40.0/
H A DMakefile.in172 LIBOBJS0 = alter.lo analyze.lo attach.lo auth.lo \
213 $(TOP)/src/auth.c \
832 auth.lo: $(TOP)/src/auth.c $(HDR)
833 $(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/auth.c
H A DMakefile.msc1240 LIBOBJS0 = vdbe.lo parse.lo alter.lo analyze.lo attach.lo auth.lo \
1297 $(TOP)\src\auth.c \
1947 auth.lo: $(TOP)\src\auth.c $(HDR)
1948 $(LTCOMPILE) $(CORE_COMPILE_OPTS) -c $(TOP)\src\auth.c
H A Dmain.mk57 alter.o analyze.o attach.o auth.o \
90 $(TOP)/src/auth.c \

12