xo::Authorize method lookup_user_id (protected)

 <instance of xo::Authorize[i]> lookup_user_id [ -email email ]

Defined in packages/xooauth/tcl/authorize-procs.tcl

Switches:
-email
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 party::get_by_email party::get_by_email (public) xo::Authorize instproc lookup_user_id xo::Authorize instproc lookup_user_id xo::Authorize instproc lookup_user_id->party::get_by_email

Testcases:
No testcase defined.
Source code:
set user_id [party::get_by_email -email [string tolower $email]]
if {$user_id eq ""} {
    #
    # Here one could do some more checks or alternative lookups
    #
}
return [expr {$user_id eq "" ? 0 : $user_id}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: