Lines Matching refs:auth
53 QAuthZListFile *auth = qauthz_list_file_new("auth0", in test_authz_default_deny() local
59 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_deny()
61 object_unparent(OBJECT(auth)); in test_authz_default_deny()
71 QAuthZListFile *auth = qauthz_list_file_new("auth0", in test_authz_default_allow() local
77 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_allow()
79 object_unparent(OBJECT(auth)); in test_authz_default_allow()
93 QAuthZListFile *auth = qauthz_list_file_new("auth0", in test_authz_explicit_deny() local
100 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_deny()
102 object_unparent(OBJECT(auth)); in test_authz_explicit_deny()
116 QAuthZListFile *auth = qauthz_list_file_new("auth0", in test_authz_explicit_allow() local
123 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_allow()
125 object_unparent(OBJECT(auth)); in test_authz_explicit_allow()
150 QAuthZListFile *auth = qauthz_list_file_new("auth0", in test_authz_complex() local
157 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_complex()
158 g_assert(qauthz_is_allowed(QAUTHZ(auth), "bob", &error_abort)); in test_authz_complex()
159 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "dan", &error_abort)); in test_authz_complex()
160 g_assert(qauthz_is_allowed(QAUTHZ(auth), "danb", &error_abort)); in test_authz_complex()
162 object_unparent(OBJECT(auth)); in test_authz_complex()