/dports/devel/dbus/dbus-1.12.20/dbus/ |
H A D | dbus-credentials.c | 121 credentials->refcount += 1; in _dbus_credentials_ref() 134 credentials->refcount -= 1; in _dbus_credentials_unref() 135 if (credentials->refcount == 0) in _dbus_credentials_unref() 140 dbus_free (credentials); in _dbus_credentials_unref() 155 credentials->pid = pid; in _dbus_credentials_add_pid() 170 credentials->unix_uid = uid; in _dbus_credentials_add_unix_uid() 193 credentials->windows_sid = copy; in _dbus_credentials_add_windows_sid() 286 return credentials->pid; in _dbus_credentials_get_pid() 299 return credentials->unix_uid; in _dbus_credentials_get_unix_uid() 312 return credentials->windows_sid; in _dbus_credentials_get_windows_sid() [all …]
|
/dports/security/py-google-auth/google-auth-2.3.3/tests/oauth2/ |
H A D | test_service_account.py | 119 assert not credentials.valid 142 credentials = credentials.with_scopes(scopes) 175 credentials = credentials.with_scopes(scopes) 183 credentials = credentials.with_subject(subject) 306 credentials.refresh(request) 323 assert credentials.valid 337 assert not credentials.valid 346 assert credentials.valid 366 assert credentials.valid 504 assert credentials.valid [all …]
|
/dports/security/aws-c-auth/aws-c-auth-0.6.5/source/ |
H A D | credentials.c | 78 if (credentials == NULL) { in aws_credentials_new() 82 AWS_ZERO_STRUCT(*credentials); in aws_credentials_new() 87 credentials->access_key_id = in aws_credentials_new() 109 return credentials; in aws_credentials_new() 119 if (credentials == NULL) { in s_aws_credentials_destroy() 137 aws_mem_release(credentials->allocator, credentials); in s_aws_credentials_destroy() 141 if (credentials == NULL) { in aws_credentials_acquire() 149 if (credentials == NULL) { in aws_credentials_release() 185 return credentials->ecc_key; in aws_credentials_get_ecc_key_pair() 220 if (credentials == NULL) { in aws_credentials_new_ecc() [all …]
|
/dports/devel/glib20/glib-2.70.4/gio/ |
H A D | gcredentials.c | 133 ucred_free (credentials->native); in G_DEFINE_TYPE() 162 credentials->native.cr_ngroups = 1; in g_credentials_init() 455 return credentials->native; in g_credentials_get_native() 457 return &credentials->native; in g_credentials_get_native() 489 memcpy (&credentials->native, native, sizeof (credentials->native)); in g_credentials_set_native() 525 ret = credentials->native.uid; in g_credentials_get_unix_user() 548 ret = credentials->native.uid; in g_credentials_get_unix_user() 590 ret = credentials->native.pid; in g_credentials_get_unix_pid() 598 ret = credentials->native.pid; in g_credentials_get_unix_pid() 643 credentials->native.uid = uid; in g_credentials_set_unix_user() [all …]
|
/dports/security/py-google-auth/google-auth-2.3.3/tests/ |
H A D | test_credentials.py | 33 assert not credentials.token 34 assert not credentials.expiry 36 assert not credentials.valid 41 credentials.token = "token" 43 assert credentials.valid 48 credentials.expiry = ( 54 assert credentials.valid 61 assert not credentials.valid 62 assert credentials.expired 72 assert credentials.valid [all …]
|
H A D | test_external_account.py | 614 assert credentials.valid 646 assert credentials.valid 681 assert credentials.valid 718 assert credentials.valid 782 assert credentials.valid 850 assert credentials.valid 879 assert credentials.valid 907 assert credentials.valid 968 assert credentials.valid 1322 credentials.expiry = ( [all …]
|
H A D | test_app_engine.py | 101 assert not credentials.valid 105 assert not credentials.scopes 113 assert not credentials.scopes 124 assert not credentials.scopes 171 credentials.refresh(None) 174 credentials.scopes, credentials._service_account_id 178 assert credentials.valid 188 credentials.refresh(None) 191 credentials.default_scopes, credentials._service_account_id 195 assert credentials.valid [all …]
|
H A D | test__default.py | 25 from google.auth import credentials 31 import google.oauth2.credentials 183 assert isinstance(credentials, google.oauth2.credentials.Credentials) 213 assert isinstance(credentials, google.oauth2.credentials.Credentials) 220 assert isinstance(credentials, google.oauth2.credentials.Credentials) 230 assert isinstance(credentials, google.oauth2.credentials.Credentials) 240 assert isinstance(credentials, google.oauth2.credentials.Credentials) 345 assert credentials.is_user 510 assert credentials is None 581 assert credentials is None [all …]
|
H A D | test_impersonated_credentials.py | 29 from google.oauth2 import credentials 134 assert credentials.expired 139 assert credentials.expired 178 assert credentials.valid 203 assert credentials.valid 342 assert credentials.valid 415 assert credentials.valid 444 assert credentials.valid 474 assert credentials.valid 490 credentials = None [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/bq/third_party/googleapiclient/ |
H A D | _auth.py | 22 import google.auth.credentials 44 return credentials 67 credentials, google.auth.credentials.Credentials): 69 credentials, scopes) 77 return credentials 80 def authorized_http(credentials): argument 95 credentials, google.auth.credentials.Credentials): 115 credentials, google.auth.credentials.Credentials): 129 def is_valid(credentials): argument 131 credentials, google.auth.credentials.Credentials): [all …]
|
/dports/www/py-google-api-python-client/google-api-python-client-1.7.6/googleapiclient/ |
H A D | _auth.py | 21 import google.auth.credentials 43 return credentials 66 credentials, google.auth.credentials.Credentials): 68 credentials, scopes) 76 return credentials 79 def authorized_http(credentials): argument 94 credentials, google.auth.credentials.Credentials): 114 credentials, google.auth.credentials.Credentials): 128 def is_valid(credentials): argument 130 credentials, google.auth.credentials.Credentials): [all …]
|
/dports/lang/gleam/gleam-0.18.2/cargo-crates/http-auth-basic-0.3.1/src/ |
H A D | lib.rs | 31 mod credentials; module 34 pub use credentials::*; 48 assert_eq!(credentials.user_id, String::from("username")); in it_creates_credentials_from_value() 64 let credentials = credentials.encode(); in it_encodes_credentials() localVariable 90 let credentials = credentials.as_http_header(); in it_creates_header_value() localVariable 98 let credentials = credentials.as_http_header(); in it_creates_header_value_with_colon() localVariable 102 credentials in it_creates_header_value_with_colon() 129 assert!(credentials.is_err()); in from_header_returns_err_when_input_has_no_whitespace() 137 assert!(credentials.is_err()); in from_header_returns_err_when_input_contains_multiple_whitespaces() 145 assert!(credentials.is_err()); in from_header_returns_err_when_input_is_not_basic_auth() [all …]
|
/dports/security/py-google-auth/google-auth-2.3.3/tests/compute_engine/ |
H A D | test_credentials.py | 52 self.credentials = credentials.Credentials() 199 self.credentials = credentials.IDTokenCredentials( 227 self.credentials = credentials.IDTokenCredentials( 257 self.credentials = credentials.IDTokenCredentials( 292 self.credentials = credentials.IDTokenCredentials( 318 self.credentials = credentials.IDTokenCredentials( 326 self.credentials = credentials.IDTokenCredentials( 348 self.credentials = credentials.IDTokenCredentials( 435 self.credentials = credentials.IDTokenCredentials( 460 self.credentials = credentials.IDTokenCredentials( [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/meta/workers/modules/ |
H A D | dedicated-worker-options-credentials.html.ini | 1 [dedicated-worker-options-credentials.html] 3 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 6 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 9 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 12 …[new Worker() with type=module and credentials=include should send the credentials for same-origin… 24 …[new Worker() with type-module credentials=omit should not send the credentials for cross-origin s… 48 …() with type=module and default credentials option should behave as credentials=same-origin and no… 54 [new Worker() with type=module and credentials=omit should not send the credentials] 57 …er() with type=module and default credentials option should behave as credentials=same-origin and … 75 …() with type=module and default credentials option should behave as credentials=same-origin and no… [all …]
|
H A D | shared-worker-options-credentials.html.ini | 1 [shared-worker-options-credentials.html] 3 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 9 …[new SharedWorker() with type=module and credentials=same-origin should send the credentials for s… 12 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for same… 15 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for cros… 21 …er() with type=module and default credentials option should behave as credentials=same-origin and … 24 …() with type=module and default credentials option should behave as credentials=same-origin and no… 33 …er() with type=module and default credentials option should behave as credentials=same-origin and … 36 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 42 [new SharedWorker() with type=module and credentials=omit should not send the credentials] [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/meta/workers/modules/ |
H A D | shared-worker-options-credentials.html.ini | 1 [shared-worker-options-credentials.html] 3 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 9 …[new SharedWorker() with type=module and credentials=same-origin should send the credentials for s… 12 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for same… 15 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for cros… 21 …er() with type=module and default credentials option should behave as credentials=same-origin and … 24 …() with type=module and default credentials option should behave as credentials=same-origin and no… 33 …er() with type=module and default credentials option should behave as credentials=same-origin and … 36 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 42 [new SharedWorker() with type=module and credentials=omit should not send the credentials] [all …]
|
H A D | dedicated-worker-options-credentials.html.ini | 1 [dedicated-worker-options-credentials.html] 3 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 6 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 9 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 12 …[new Worker() with type=module and credentials=include should send the credentials for same-origin… 24 …[new Worker() with type-module credentials=omit should not send the credentials for cross-origin s… 48 …() with type=module and default credentials option should behave as credentials=same-origin and no… 54 [new Worker() with type=module and credentials=omit should not send the credentials] 57 …er() with type=module and default credentials option should behave as credentials=same-origin and … 75 …() with type=module and default credentials option should behave as credentials=same-origin and no… [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/meta/workers/modules/ |
H A D | dedicated-worker-options-credentials.html.ini | 1 [dedicated-worker-options-credentials.html] 3 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 6 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 9 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 12 …[new Worker() with type=module and credentials=include should send the credentials for same-origin… 24 …[new Worker() with type-module credentials=omit should not send the credentials for cross-origin s… 48 …() with type=module and default credentials option should behave as credentials=same-origin and no… 54 [new Worker() with type=module and credentials=omit should not send the credentials] 57 …er() with type=module and default credentials option should behave as credentials=same-origin and … 75 …() with type=module and default credentials option should behave as credentials=same-origin and no… [all …]
|
H A D | shared-worker-options-credentials.html.ini | 1 [shared-worker-options-credentials.html] 3 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 9 …[new SharedWorker() with type=module and credentials=same-origin should send the credentials for s… 12 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for same… 15 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for cros… 21 …er() with type=module and default credentials option should behave as credentials=same-origin and … 24 …() with type=module and default credentials option should behave as credentials=same-origin and no… 33 …er() with type=module and default credentials option should behave as credentials=same-origin and … 36 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 42 [new SharedWorker() with type=module and credentials=omit should not send the credentials] [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/meta/workers/modules/ |
H A D | dedicated-worker-options-credentials.html.ini | 1 [dedicated-worker-options-credentials.html] 3 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 6 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 9 …[new Worker() with type=classic should always send the credentials regardless of the credentials o… 12 …[new Worker() with type=module and credentials=include should send the credentials for same-origin… 24 …[new Worker() with type-module credentials=omit should not send the credentials for cross-origin s… 48 …() with type=module and default credentials option should behave as credentials=same-origin and no… 54 [new Worker() with type=module and credentials=omit should not send the credentials] 57 …er() with type=module and default credentials option should behave as credentials=same-origin and … 75 …() with type=module and default credentials option should behave as credentials=same-origin and no… [all …]
|
H A D | shared-worker-options-credentials.html.ini | 1 [shared-worker-options-credentials.html] 3 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 9 …[new SharedWorker() with type=module and credentials=same-origin should send the credentials for s… 12 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for same… 15 …[new SharedWorker() with type=module and credentials=omit should not send the credentials for cros… 21 …er() with type=module and default credentials option should behave as credentials=same-origin and … 24 …() with type=module and default credentials option should behave as credentials=same-origin and no… 33 …er() with type=module and default credentials option should behave as credentials=same-origin and … 36 …SharedWorker() with type=classic should always send the credentials regardless of the credentials … 42 [new SharedWorker() with type=module and credentials=omit should not send the credentials] [all …]
|
/dports/www/py-google-api-python-client/google-api-python-client-1.7.6/tests/ |
H A D | test__auth.py | 17 import google.auth.credentials 42 self.assertEqual(credentials, mock.sentinel.credentials) 45 credentials = mock.Mock(spec=google.auth.credentials.Credentials) 49 self.assertEqual(credentials, returned) 54 google.auth.credentials.Scoped): 58 credentials.requires_scopes = True 67 credentials = mock.Mock(spec=google.auth.credentials.Credentials) 74 self.assertEqual(authorized_http.credentials, credentials) 98 self.assertEqual(credentials, mock.sentinel.credentials) 153 credentials = mock.Mock(spec=google.auth.credentials.Credentials) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/oauth2client/tests/contrib/ |
H A D | test_gce.py | 46 self.assertIsNone(credentials.scopes) 47 self.assertTrue(credentials.invalid) 61 credentials.to_json() 75 credentials.invalid = False 98 credentials.invalid = False 101 credentials._refresh(http) 122 credentials.sign_blob(b'blob') 129 self.assertTrue(credentials.invalid) 130 self.assertIsNone(credentials.scopes) 133 self.assertFalse(credentials.invalid) [all …]
|
/dports/security/py-oauth2client/oauth2client-4.1.3/tests/contrib/ |
H A D | test_gce.py | 46 self.assertIsNone(credentials.scopes) 47 self.assertTrue(credentials.invalid) 61 credentials.to_json() 75 credentials.invalid = False 98 credentials.invalid = False 101 credentials._refresh(http) 122 credentials.sign_blob(b'blob') 129 self.assertTrue(credentials.invalid) 130 self.assertIsNone(credentials.scopes) 133 self.assertFalse(credentials.invalid) [all …]
|
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/libedataserver/ |
H A D | e-credentials.c | 58 ECredentials *credentials; in e_credentials_new() local 60 credentials = g_slice_new0 (ECredentials); in e_credentials_new() 65 return credentials; in e_credentials_new() 83 ECredentials *credentials; in e_credentials_new_strv() local 88 credentials = e_credentials_new (); in e_credentials_new_strv() 100 return credentials; in e_credentials_new_strv() 119 ECredentials *credentials; in e_credentials_new_args() local 127 credentials = e_credentials_new (); in e_credentials_new_args() 142 return credentials; in e_credentials_new_args() 190 if (!credentials) in e_credentials_free() [all …]
|