100+ results for 'auth_key'
Not the results you expected?
snmpusm.h (https://gitlab.com/envieidoc/advancedtomato2) C Header · 238 lines
sfsauth_prot.x (https://github.com/maxtaco/sfslite.git) Alex · 315 lines
config_test.go (https://github.com/kevin-hf/education.git) Go · 537 lines
wpa.h (https://gitlab.com/envieidoc/tomato) C Header · 159 lines
WebserviceKey.php (https://bitbucket.org/enurkov/prestashop.git) PHP · 157 lines
83 }
85 public static function getPermissionForAccount($auth_key)
86 {
87 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
89 FROM `'._DB_PREFIX_.'webservice_permission` p
90 LEFT JOIN `'._DB_PREFIX_.'webservice_account` a ON (a.id_webservice_account = p.id_webservice_account)
91 WHERE a.key = \''.pSQL($auth_key).'\'
92 ');
93 $permissions = array();
98 }
100 public static function isKeyActive($auth_key)
101 {
102 $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
AuthKeyspace.java (https://github.com/beobal/cassandra.git) Java · 115 lines
100 private static TableMetadata parse(String name, String description, String cql)
101 {
102 return CreateTableStatement.parse(format(cql, name), SchemaConstants.AUTH_KEYSPACE_NAME)
103 .id(TableId.forSystemTable(SchemaConstants.AUTH_KEYSPACE_NAME, name))
109 public static KeyspaceMetadata metadata()
110 {
111 return KeyspaceMetadata.create(SchemaConstants.AUTH_KEYSPACE_NAME,
112 KeyspaceParams.simple(1),
113 Tables.of(Roles, RoleMembers, RolePermissions, ResourceRoleIndex, NetworkPermissions));
IndexAction.class.php (https://gitlab.com/colin.luo/shbs) PHP · 153 lines
vm-webdisp.tf (https://github.com/Azure/sap-hana.git) Terraform · 249 lines
wpa.h (https://gitlab.com/hellrokr/orange-pi-plus) C Header · 194 lines
cluster_config.py (https://gitlab.com/asimpletune/rethinkdb) Python · 102 lines
28 assert list(r.db("rethinkdb").table("cluster_config").run(conn)) == [
29 {"id": "auth", "auth_key": None},
30 {"id": "heartbeat", "heartbeat_timeout_secs": 10}
31 ]
33 res = r.db("rethinkdb").table("cluster_config").get("auth").update({"auth_key": "hunter2"}).run(conn)
34 assert res["errors"] == 0
47 print("Checking connection with the AuthKey (%.2fs)" % (time.time() - startTime))
49 conn = r.connect(server.host, server.driver_port, auth_key="hunter2")
51 rows = list(r.db("rethinkdb").table("cluster_config").filter({"id": "auth"}).run(conn))
rps-test_util.c (https://gitlab.com/taler/gnunet) C · 197 lines
98 char *
99 auth_key_to_string (struct GNUNET_CRYPTO_AuthKey auth_key)
100 {
101 int size;
114 buf = GNUNET_malloc (keylen + 1);
116 end = GNUNET_STRINGS_data_to_string (&(auth_key.key),
117 sizeof (struct GNUNET_CRYPTO_AuthKey),
118 buf,
141 struct GNUNET_CRYPTO_AuthKey
142 string_to_auth_key (const char *str)
143 {
144 struct GNUNET_CRYPTO_AuthKey auth_key;
sec_crypto.h (https://github.com/tekkamanninja/linux.git) C Header · 407 lines
wp-config.php (https://gitlab.com/GzusGO/TDD-WordPress-standard-installation) PHP · 112 lines
auth.c (https://github.com/roaraudio/roaraudio.git) C · 246 lines
31 int i;
33 memset(g_auth_keyring, 0, sizeof(g_auth_keyring));
35 for (i = 0; i < AUTH_KEYRING_LEN; i++) {
36 g_auth_keyring[i].type = _NONE;
37 }
56 union auth_typeunion * auth_regkey_simple(int type, enum roard_client_acclev acclev) {
57 struct auth_key * key;
58 int i;
60 for (i = 0; i < AUTH_KEYRING_LEN; i++) {
61 if ( (key = &(g_auth_keyring[i]))->type == _NONE ) {
BUILD.gn (https://gitlab.com/0072016/Facebook-SDK-) GN · 162 lines
google-9-rdbx-leak-plug.patch (https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk) Patch · 298 lines
42 stat = crypto_kernel_alloc_auth(p->rtp.auth_type,
43 &str->rtp_auth,
44 p->rtp.auth_key_len,
45 - p->rtp.auth_tag_len);
46 + p->rtp.auth_tag_len);
83 /* allocate auth function */
84 @@ -144,33 +136,37 @@ srtp_stream_alloc(srtp_stream_ctx_t **str_ptr,
85 p->rtcp.auth_key_len,
86 p->rtcp.auth_tag_len);
87 if (stat) {
cperf_test_vector_parsing.c (https://github.com/tiglabs/containerdns.git) C · 507 lines
74 printf("\nauth_key =\n");
75 for (i = 0; i < test_vector->auth_key.length; ++i) {
76 if ((i % wrap == 0) && (i != 0))
77 printf("\n");
80 else
81 printf("0x%02x, ",
82 test_vector->auth_key.data[i]);
83 }
84 printf("\n");
289 } else if (strstr(key_token, "auth_key")) {
290 rte_free(vector->auth_key.data);
291 vector->auth_key.data = data;
298 return -1;
299 }
300 vector->auth_key.length = opts->auth_key_sz;
301 }
rtl8370_asicdrv_rrcp.c (https://gitlab.com/thanhnhat041/padavan-ng) C · 267 lines
login.js (https://bitbucket.org/jdenton/stuffsafe-mobile-ipad.git) JavaScript · 96 lines
MediaConsts.java (https://bitbucket.org/kshark27/just-player.git) Java · 249 lines
Account.spec.js (https://github.com/stripe/stripe-node.git) JavaScript · 517 lines
4 const expect = require('chai').expect;
6 const TEST_AUTH_KEY = 'aGN0bIwXnHdw5645VABjPdSn8nWY7G11';
8 describe('Account Resource', () => {
130 it('Sends the correct request [with specified auth]', () => {
131 stripe.account.listCapabilities('acct_123', TEST_AUTH_KEY);
132 expect(stripe.LAST_REQUEST).to.deep.equal({
133 method: 'GET',
135 headers: {},
136 data: {},
137 auth: TEST_AUTH_KEY,
138 settings: {},
139 });
01-chatengine.sql (https://github.com/nebula-chat/chatengine.git) SQL · 1087 lines
187 `deleted_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
188 PRIMARY KEY (`id`),
189 UNIQUE KEY `auth_key_id` (`auth_key_id`,`user_id`)
190 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
392 `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
393 PRIMARY KEY (`id`),
394 UNIQUE KEY `auth_key_id` (`auth_key_id`,`user_id`,`token_type`)
395 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
582 `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
583 PRIMARY KEY (`id`),
584 UNIQUE KEY `auth_key_id` (`auth_key_id`,`client_id`)
585 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
example.cpp (https://gitlab.com/asimpletune/rethinkdb) C++ · 265 lines
8 #define default_port "28015"
9 #define default_db "test"
10 #define default_auth_key ""
12 using namespace std;
33 string auth_key = ask("authorization key (leave empty for '" default_auth_key "')");
34 if (auth_key.empty()) auth_key = default_auth_key;
36 shared_ptr <connection> conn(new connection(host, port, db, auth_key));
schema.rb (https://github.com/BillTheBest/owp.git) Ruby · 149 lines
pointer_auth.h (https://gitlab.com/pachecof/centos-stream-9) C Header · 152 lines
45 };
47 static __always_inline void ptrauth_keys_init_kernel(struct ptrauth_keys_kernel *keys)
48 {
49 if (system_supports_address_auth())
62 #endif /* CONFIG_ARM64_PTR_AUTH_KERNEL */
64 static inline void ptrauth_keys_install_user(struct ptrauth_keys_user *keys)
65 {
66 if (system_supports_address_auth()) {
74 }
76 static inline void ptrauth_keys_init_user(struct ptrauth_keys_user *keys)
77 {
78 if (system_supports_address_auth()) {
auth_model_spec.rb (https://gitlab.com/unofficial-mirrors/manageiq) Ruby · 184 lines
26 subject { FixAuth::FixAuthentication }
27 let(:contenders) { subject.contenders.collect(&:name) }
28 let(:v1_v2) { subject.create(:name => "v2_v1", :password => enc_v2, :auth_key => enc_v1) }
29 let(:v2_v1) { subject.create(:name => "v1_v2", :password => enc_v1, :auth_key => enc_v2) }
41 it "should determine available_columns" do
42 expect(subject.available_columns).to eq(%w(password auth_key))
43 end
50 it "should build selection criteria (non selects)" do
51 expect(subject.selection_criteria).to match(/OR/)
52 expect(subject.selection_criteria).to match(/password.*<>.*''.*OR.*auth_key.*<>.*''/)
53 end
79 subject.fix_passwords(leg)
80 expect(leg).to be_password_changed
81 expect(leg).not_to be_auth_key_changed
82 expect(leg.password).to be_encrypted(pass)
83 expect(leg.password).to be_encrypted_version(2)
keyctl.h (https://github.com/amirkrifa/ns-allinone-3.9.git) C Header · 54 lines
range_meters.o.d (https://gitlab.com/pitman/pi-pilot.git) D · 131 lines
28 ../mavlink/v1.0/common/./mavlink_msg_change_operator_control.h \
29 ../mavlink/v1.0/common/./mavlink_msg_change_operator_control_ack.h \
30 ../mavlink/v1.0/common/./mavlink_msg_auth_key.h \
31 ../mavlink/v1.0/common/./mavlink_msg_set_mode.h \
32 ../mavlink/v1.0/common/./mavlink_msg_param_request_read.h \
util.lua (https://github.com/logiceditor-com/codebase.git) Lua · 194 lines
wordpress-install.sh (https://gitlab.com/leo020588/wordpress-wsl) Shell · 199 lines
cryptauth_key.cc (https://github.com/chromium/chromium.git) C++ · 164 lines
User.php (https://gitlab.com/makkooz/nikestreetbeat) PHP · 102 lines
36 'password_hash',
37 'password_reset_token',
38 'auth_key',
39 'created_at',
40 'updated_at',
93 ->andFilterWhere(['like', 'password_hash', $this->password_hash])
94 ->andFilterWhere(['like', 'password_reset_token', $this->password_reset_token])
95 ->andFilterWhere(['like', 'auth_key', $this->auth_key])
96 ->andFilterWhere(['like', 'created_at', $this->created_at])
97 ->andFilterWhere(['like', 'updated_at', $this->updated_at])
model.rb (https://github.com/nreckart/devise_ldap_authenticatable.git) Ruby · 90 lines
61 # authenticated user if it's valid or nil.
62 def authenticate_with_ldap(attributes={})
63 auth_key = self.authentication_keys.first
64 return nil unless attributes[auth_key].present?
66 # resource = find_for_ldap_authentication(conditions)
67 resource = where(auth_key => attributes[auth_key]).first
69 if (resource.blank? and ::Devise.ldap_create_user)
70 resource = new
71 resource[auth_key] = attributes[auth_key]
72 resource.password = attributes[:password]
73 end
foreground.class.php (https://github.com/hxzyzz/ddc.git) PHP · 76 lines
27 //жǷauth cookie
28 if ($phpcms_auth) {
29 $auth_key = md5(pc_base::load_config('system', 'auth_key').str_replace('7.0' ,'8.0',$_SERVER['HTTP_USER_AGENT']));
30 list($userid, $password) = explode("\t", sys_auth($phpcms_auth, 'DECODE', $auth_key));
66 param::set_cookie('_groupid', '');
67 }
68 unset($userid, $password, $phpcms_auth, $auth_key);
69 } else {
70 $forward= isset($_GET['forward']) ? urlencode($_GET['forward']) : urlencode(get_url());
wp-config-sample.php (https://gitlab.com/mostafame/team_website) PHP · 89 lines
carrier.php (https://gitlab.com/ptisky/API_prestashop) PHP · 185 lines
deploying.md (https://github.com/serverless/serverless.git) Markdown · 114 lines
19 ## prerequisites
21 In order to deploy your Cloudflare Worker, you need to set your Cloudflare email as an environmental variable called `CLOUDFLARE_AUTH_EMAIL`, and your Cloudflare Global API Key as an environmental variable called `CLOUDFLARE_AUTH_KEY`. You will also need to set `accountId` and `zoneId` in `serverless.yml` under `service.config`. The first part of the path when you open [Cloudflare dashboard](https://dash.cloudflare.com/) as a logged in user is your `accountId`, e.g. `dash.cloudflare.com/{accountId}`. And the `zoneId` can be found from the overview tab after selecting the desired zone from the [Cloudflare dashboard](https://dash.cloudflare.com/).
23 Environmental variables are variables that live inside your terminal.
27 ```bash
28 export CLOUDFLARE_AUTH_KEY=YOUR_API_KEY_HERE
29 export CLOUDFLARE_AUTH_EMAIL=YOUR_CLOUDFLARE_EMAIL
30 ```
34 ```bash
35 set CLOUDFLARE_AUTH_KEY=YOUR_API_KEY_HERE
36 set CLOUDFLARE_AUTH_EMAIL=YOUR_CLOUDFLARE_EMAIL
37 ```
class-fl-builder-service-aweber.php (https://bitbucket.org/madiha303/clickitplugins-web.git) PHP · 277 lines
zrtp_srtp_dm.c (https://github.com/curriegrad2004/FreeSWITCH.git) C · 232 lines
wlan_bssdef.h (https://bitbucket.org/bendikro/net-next-rdb.git) C Header · 140 lines
User.php (https://github.com/michaelweixi/blogdemo2.git) PHP · 228 lines
16 * @property string $password_reset_token
17 * @property string $email
18 * @property string $auth_key
19 * @property integer $status
20 * @property integer $created_at
67 'id' => 'ID',
68 'username' => '用户名',
69 'auth_key' => 'Auth Key',
70 'password_hash' => 'Password Hash',
71 'password_reset_token' => 'Password Reset Token',
151 public function getAuthKey()
152 {
153 return $this->auth_key;
154 }
install.php (https://bitbucket.org/moodsdesign-ondemand/reglot.git) PHP · 107 lines
26 if (defined('GP_AUTH_KEY'))
27 $config_defaults['GP_AUTH_KEY'] = GP_AUTH_KEY;
28 if (defined('GP_SECURE_AUTH_KEY'))
29 $config_defaults['GP_SECURE_AUTH_KEY'] = GP_SECURE_AUTH_KEY;
30 if (defined('GP_LOGGED_IN_KEY'))
31 $config_defaults['GP_LOGGED_IN_KEY'] = GP_LOGGED_IN_KEY;
70 <label for="config[GP_AUTH_KEY]">GP_AUTH_KEY</label>
71 <input type="text" name="config[GP_AUTH_KEY]" value="<?php echo @$config['GP_AUTH_KEY']; ?>" id="config[GP_AUTH_KEY]"><br/>
72 <label for="config[GP_SECURE_AUTH_KEY]">GP_SECURE_AUTH_KEY</label>
73 <input type="text" name="config[GP_SECURE_AUTH_KEY]" value="<?php echo @$config['GP_SECURE_AUTH_KEY']; ?>" id="config[GP_SECURE_AUTH_KEY]"><br/>
74 <label for="config[GP_LOGGED_IN_KEY]">GP_LOGGED_IN_KEY</label>
75 <input type="text" name="config[GP_LOGGED_IN_KEY]" value="<?php echo @$config['GP_LOGGED_IN_KEY']; ?>" id="config[GP_LOGGED_IN_KEY]"><br/>
imap-urlauth-backend.c (https://github.com/dovecot/core.git) C · 175 lines
40 urlauth_key.value = mailbox_key_hex;
41 ret = mailbox_attribute_set(t, MAIL_ATTRIBUTE_TYPE_PRIVATE,
42 IMAP_URLAUTH_KEY, &urlauth_key);
44 if (mailbox_transaction_commit(&t) < 0) {
53 imap_urlauth_backend_trans_get_mailbox_key(struct mailbox *box,
54 bool create,
55 unsigned char mailbox_key_r[IMAP_URLAUTH_KEY_LEN],
56 const char **client_error_r,
57 enum mail_error *error_code_r)
68 ret = mailbox_attribute_get(box, MAIL_ATTRIBUTE_TYPE_PRIVATE,
69 IMAP_URLAUTH_KEY, &urlauth_key);
70 if (ret < 0)
71 return -1;
OAuthGateway.m (https://github.com/gholland/yammer_iphone.git) Objective C · 208 lines
36 + (void)getRequestToken:(BOOL)createNewAccount {
38 OAConsumer *consumer = [[OAConsumer alloc] initWithKey:OAUTH_KEY
39 secret:OAUTH_SECRET];
80 OAToken *requestToken = [[OAToken alloc] initWithHTTPResponseBody:[LocalStorage getRequestToken]];
81 OAConsumer *consumer = [[OAConsumer alloc] initWithKey:OAUTH_KEY
82 secret:OAUTH_SECRET];
155 NSURL *url = [OAuthGateway fixRelativeURL:path];
157 OAConsumer *consumer = [[OAConsumer alloc] initWithKey:OAUTH_KEY
158 secret:OAUTH_SECRET];
authenticated_system.rb (https://github.com/meloon/crabgrass.git) Ruby · 133 lines
user_service.go (https://github.com/eyebluecn/tank.git) Go · 280 lines
115 func (this *UserService) PreHandle(writer http.ResponseWriter, request *http.Request) {
117 sessionId := util.GetSessionUuidFromRequest(request, core.COOKIE_AUTH_KEY)
119 if sessionId != "" {
172 timeUUID, _ := uuid.NewV4()
173 uuidStr := string(timeUUID.String())
174 request.Form[core.COOKIE_AUTH_KEY] = []string{uuidStr}
176 core.CONTEXT.GetSessionCache().Add(uuidStr, 10*time.Second, user)
keyctl.h (https://github.com/srikard/linux.git) C Header · 136 lines
23 #define KEY_SPEC_USER_SESSION_KEYRING -5 /* - key ID for UID-session keyring */
24 #define KEY_SPEC_GROUP_KEYRING -6 /* - key ID for GID-specific keyring */
25 #define KEY_SPEC_REQKEY_AUTH_KEY -7 /* - key ID for assumed request_key auth key */
26 #define KEY_SPEC_REQUESTOR_KEYRING -8 /* - key ID for request_key() dest keyring */
slugs.h (https://github.com/mavlink/mavlink-ivy-interface.git) C Header · 62 lines
22 #ifndef MAVLINK_MESSAGE_INFO
23 #define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_HEARTBEAT, MAVLINK_MESSAGE_INFO_BOOT, MAVLINK_MESSAGE_INFO_SYSTEM_TIME, MAVLINK_MESSAGE_INFO_PING, MAVLINK_MESSAGE_INFO_SYSTEM_TIME_UTC, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL_ACK, MAVLINK_MESSAGE_INFO_AUTH_KEY, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_ACTION_ACK, MAVLINK_MESSAGE_INFO_ACTION, MAVLINK_MESSAGE_INFO_SET_MODE, MAVLINK_MESSAGE_INFO_SET_NAV_MODE, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_READ, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_LIST, MAVLINK_MESSAGE_INFO_PARAM_VALUE, MAVLINK_MESSAGE_INFO_PARAM_SET, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_GPS_RAW_INT, MAVLINK_MESSAGE_INFO_SCALED_IMU, MAVLINK_MESSAGE_INFO_GPS_STATUS, MAVLINK_MESSAGE_INFO_RAW_IMU, MAVLINK_MESSAGE_INFO_RAW_PRESSURE, MAVLINK_MESSAGE_INFO_ATTITUDE, MAVLINK_MESSAGE_INFO_LOCAL_POSITION, MAVLINK_MESSAGE_INFO_GPS_RAW, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION, MAVLINK_MESSAGE_INFO_SYS_STATUS, MAVLINK_MESSAGE_INFO_RC_CHANNELS_RAW, MAVLINK_MESSAGE_INFO_RC_CHANNELS_SCALED, MAVLINK_MESSAGE_INFO_SERVO_OUTPUT_RAW, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE, MAVLINK_MESSAGE_INFO_WAYPOINT, MAVLINK_MESSAGE_INFO_WAYPOINT_REQUEST, MAVLINK_MESSAGE_INFO_WAYPOINT_SET_CURRENT, MAVLINK_MESSAGE_INFO_WAYPOINT_CURRENT, MAVLINK_MESSAGE_INFO_WAYPOINT_REQUEST_LIST, MAVLINK_MESSAGE_INFO_WAYPOINT_COUNT, MAVLINK_MESSAGE_INFO_WAYPOINT_CLEAR_ALL, MAVLINK_MESSAGE_INFO_WAYPOINT_REACHED, MAVLINK_MESSAGE_INFO_WAYPOINT_ACK, MAVLINK_MESSAGE_INFO_GPS_SET_GLOBAL_ORIGIN, MAVLINK_MESSAGE_INFO_GPS_LOCAL_ORIGIN_SET, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_SETPOINT_SET, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_SETPOINT, MAVLINK_MESSAGE_INFO_CONTROL_STATUS, MAVLINK_MESSAGE_INFO_SAFETY_SET_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_SAFETY_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_SET_ROLL_PITCH_YAW_THRUST, MAVLINK_MESSAGE_INFO_SET_ROLL_PITCH_YAW_SPEED_THRUST, MAVLINK_MESSAGE_INFO_ROLL_PITCH_YAW_THRUST_SETPOINT, MAVLINK_MESSAGE_INFO_ROLL_PITCH_YAW_SPEED_THRUST_SETPOINT, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_NAV_CONTROLLER_OUTPUT, MAVLINK_MESSAGE_INFO_POSITION_TARGET, MAVLINK_MESSAGE_INFO_STATE_CORRECTION, MAVLINK_MESSAGE_INFO_SET_ALTITUDE, MAVLINK_MESSAGE_INFO_REQUEST_DATA_STREAM, MAVLINK_MESSAGE_INFO_HIL_STATE, MAVLINK_MESSAGE_INFO_HIL_CONTROLS, MAVLINK_MESSAGE_INFO_MANUAL_CONTROL, MAVLINK_MESSAGE_INFO_RC_CHANNELS_OVERRIDE, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION_INT, MAVLINK_MESSAGE_INFO_VFR_HUD, MAVLINK_MESSAGE_INFO_COMMAND, MAVLINK_MESSAGE_INFO_COMMAND_ACK, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_OPTICAL_FLOW, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_OBJECT_DETECTION_EVENT, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_CPU_LOAD, MAVLINK_MESSAGE_INFO_AIR_DATA, MAVLINK_MESSAGE_INFO_SENSOR_BIAS, MAVLINK_MESSAGE_INFO_DIAGNOSTIC, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_SLUGS_NAVIGATION, MAVLINK_MESSAGE_INFO_DATA_LOG, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_GPS_DATE_TIME, MAVLINK_MESSAGE_INFO_MID_LVL_CMDS, MAVLINK_MESSAGE_INFO_CTRL_SRFC_PT, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_SLUGS_ACTION, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, {"EMPTY",0,{{"","",MAVLINK_TYPE_CHAR,0,0,0}}}, MAVLINK_MESSAGE_INFO_DEBUG_VECT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_FLOAT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_INT, MAVLINK_MESSAGE_INFO_STATUSTEXT, MAVLINK_MESSAGE_INFO_DEBUG}
24 #endif
storetestcase.rb (https://github.com/ekcell/openmind.git) Ruby · 172 lines
Package.ps1 (https://git01.codeplex.com/myjabbr) Powershell · 138 lines
build_ssh.sh (https://github.com/NERSC/shifter.git) Shell · 136 lines
AuthenticationMngImpl.java (https://gitlab.com/BGCX262/zyzweb-svn-to-git.git) Java · 174 lines
41 auth.setLoginIp(ip);
42 save(auth);
43 session.setAttribute(request, response, AUTH_KEY, auth.getId());
44 return auth;
45 }
64 public Integer retrieveUserIdFromSession(SessionProvider session,
65 HttpServletRequest request) {
66 String authId = (String) session.getAttribute(request, AUTH_KEY);
67 if (authId == null) {
68 return null;
78 HttpServletRequest request, HttpServletResponse response,
79 String authId) {
80 session.setAttribute(request, response, AUTH_KEY, authId);
81 }
wp-config.php (https://gitlab.com/ogar.vasily/activetables) PHP · 83 lines
zrtp_srtp.h (https://github.com/curriegrad2004/FreeSWITCH.git) C Header · 252 lines
User.php (https://github.com/funson86/funshop.git) PHP · 181 lines
__init__.py (https://gitlab.com/jslee1/kitsune) Python · 107 lines
__init__.py (https://github.com/Quasimo/v2ex.git) Python · 166 lines
20 twitter = db.StringProperty(required=False, default='')
21 twitter_oauth = db.IntegerProperty(required=False, default=0)
22 twitter_oauth_key = db.StringProperty(required=False)
23 twitter_oauth_secret = db.StringProperty(required=False)
24 twitter_oauth_string = db.StringProperty(required=False)
social_button.rb (https://github.com/bbruby1/arvut_system.git) Ruby · 110 lines
53 def set_push_authentication(username)
54 @push_username = AESCrypt.encrypt(username,
55 ::Rails.configuration.comet_auth_key,
56 ::Rails.configuration.comet_auth_iv,"AES-128-CBC")
57 @push_authentication = AESCrypt.encrypt(@push_username,
58 ::Rails.configuration.comet_auth_key,
59 ::Rails.configuration.comet_auth_iv,"AES-128-CBC")
60 end
youser_system.rb (https://github.com/smart/standfor.git) Ruby · 190 lines
lastfm.rb (https://github.com/jarretth/LastfmForRoku.git) Ruby · 96 lines
31 def auth(username,password,authstring)
32 key = authstring.nil? ? auth_key(username,password) : authstring
33 @sessionkey = nil
34 params = {:username => username, :authToken => key}
89 end
91 def auth_key(username,password)
92 key = Digest::MD5.hexdigest(username.downcase + Digest::MD5.hexdigest(password))
93 puts "You may want to put authstring = \"{key}\" in your config/config.rb instead of your password"
resource_aws_dx_public_virtual_interface_test.go (https://github.com/terraform-providers/terraform-provider-aws.git) Go · 226 lines
50 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
51 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
52 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
53 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
54 resource.TestCheckResourceAttr(resourceName, "customer_address", customerAddress),
101 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
102 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
103 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
104 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
105 resource.TestCheckResourceAttr(resourceName, "customer_address", customerAddress),
125 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
126 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
127 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
128 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
129 resource.TestCheckResourceAttr(resourceName, "customer_address", customerAddress),
R-CRUD_import_partie_order.php (https://gitlab.com/ptisky/API_prestashop) PHP · 242 lines
25 {
26 try {
27 $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); //connection
28 $xml_cart = $webService->get(array('url' => PS_SHOP_PATH.'/api/carts?schema=synopsis'));//on recupere un shemas blanc xml
93 // {
94 // try {
95 // $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); //connection
96 // $xml_orders = $webService->get(array('url' => PS_SHOP_PATH.'/api/orders?schema=synopsis'));//on recupere un shemas blanc xml
AuthRole.pm (https://github.com/ironcamel/Net-OpenStack-Compute.git) Perl · 108 lines
24 return $self->auth_rax() if $self->is_rax_auth;
25 return $self->auth_basic() if $version lt 'v2';
26 return $self->auth_keystone();
27 }
31 my $res = $self->_agent->get($self->auth_url,
32 x_auth_user => $self->user,
33 x_auth_key => $self->password,
34 x_auth_project_id => $self->project_id,
35 );
42 }
44 sub auth_keystone {
45 my ($self) = @_;
46 return $self->_parse_catalog({
AuthClient.cs (https://github.com/realXtend/taiga.git) C# · 151 lines
46 SendParams.Add(authToken.ToString());
48 XmlRpcRequest request = new XmlRpcRequest("hg_new_auth_key", SendParams);
49 XmlRpcResponse reply;
50 try
82 System.Console.WriteLine("[HGrid]: Verifying user key with authority " + authurl);
84 XmlRpcRequest request = new XmlRpcRequest("hg_verify_auth_key", SendParams);
85 XmlRpcResponse reply;
86 try
Util.java (https://github.com/benetech/FBReaderJ.git) Java · 130 lines
ssh_keys.py (https://github.com/hjwsm1989/teuthology.git) Python · 180 lines
106 log.info('generated public key {pub_key}'.format(pub_key=public_key))
108 # add an entry for all hosts in ctx to auth_keys_data
109 auth_keys_data = ''
113 # create a 'user@hostname' string using our fake hostname
114 fake_hostname = '{user}@{host}'.format(user=ssh_keys_user, host=str(inner_hostname))
115 auth_keys_data += '\nssh-rsa {pub_key} {user_host}\n'.format(pub_key=public_key, user_host=fake_hostname)
117 # for each host in ctx, add keys for all other hosts
138 # adding appropriate entries to the authorized_keys2 file for this host
139 auth_keys_file = '/home/{user}/.ssh/authorized_keys2'.format(user=username)
141 # now add the list of keys for hosts in ctx to ~/.ssh/authorized_keys2
142 misc.create_file(remote, auth_keys_file, auth_keys_data, str(600))
144 try:
model.rb (https://github.com/jgeorge300/devise_shibboleth_authenticatable.git) Ruby · 66 lines
30 auth_key = self.authentication_keys.first
31 auth_key_value = (self.case_insensitive_keys || []).include?(auth_key) ? env['eppn'].downcase : env['eppn']
33 resource = where(auth_key => auth_key_value).first
35 if (resource.nil? && !Devise.shibboleth_create_user)
36 logger.info("User(#{auth_key_value}) not found. Not configured to create the user.")
37 return nil
38 end
40 if (resource.nil? && Devise.shibboleth_create_user)
41 logger.info("Creating user(#{auth_key_value}).")
42 resource = new
43 save_user_shibboleth_headers(resource, env)
qce50.h (https://gitlab.com/culot/kernel_lge_madai) C Header · 201 lines
59729e468045_add_view_column_to_setting_table.py (https://github.com/ngoduykhanh/PowerDNS-Admin.git) Python · 92 lines
54 {'id': 27, 'name': 'ldap_user_group', 'value': '', 'view': 'authentication'},
55 {'id': 28, 'name': 'github_oauth_enabled', 'value': 'False', 'view': 'authentication'},
56 {'id': 29, 'name': 'github_oauth_key', 'value': '', 'view': 'authentication'},
57 {'id': 30, 'name': 'github_oauth_secret', 'value': '', 'view': 'authentication'},
58 {'id': 31, 'name': 'github_oauth_scope', 'value': 'email', 'view': 'authentication'},
auth.rb (https://github.com/adrianic/rBoard.git) Ruby · 120 lines
Util.java (https://github.com/tamsuiboy/FBReaderJ.git) Java · 185 lines
README.md (https://github.com/SeldonIO/seldon-core.git) Markdown · 143 lines
GetAuthenticationSpecs.cs (https://github.com/jssingh/csharp-cloudfiles.git) C# · 140 lines
67 _mockrequest.SetupGet(x => x.Headers).Returns(webrequest);
68 getAuthentication.Apply(_mockrequest.Object);
69 Assert.That(webrequest[CloudFiles.Utils.Constants.X_AUTH_KEY], Is.EqualTo("apikey"));
70 }
71 }
116 _mockrequest.SetupGet(x => x.Headers).Returns(webrequest);
117 getAuthentication.Apply(_mockrequest.Object);
118 Assert.That(webrequest[CloudFiles.Utils.Constants.X_AUTH_KEY], Is.EqualTo("apikey"));
119 }
120 }
135 Assert.That(getAuthentication.CreateUri().AbsoluteUri, Is.EqualTo("http://tempuri//v%201/account%20name/auth"));
136 Assert.That(headers[CloudFiles.Utils.Constants.X_AUTH_USER], Is.EqualTo("user%20name"));
137 Assert.That(headers[CloudFiles.Utils.Constants.X_AUTH_KEY], Is.EqualTo("pass%20word"));
138 }
139 }
test_crypto_constants.js (https://github.com/mafintosh/slides.git) JavaScript · 173 lines
10 it('should define lib constants', function(done) {
11 sodium.crypto_auth_BYTES.should.have.type('number').above(0);
12 sodium.crypto_auth_KEYBYTES.should.have.type('number').above(0);
13 sodium.crypto_box_NONCEBYTES.should.have.type('number').above(0);
14 sodium.crypto_box_BEFORENMBYTES.should.have.type('number').above(0);
19 sodium.crypto_hash_BYTES.should.have.type('number').above(0);
20 sodium.crypto_onetimeauth_BYTES.should.have.type('number').above(0);
21 sodium.crypto_onetimeauth_KEYBYTES.should.have.type('number').above(0);
22 sodium.crypto_secretbox_BOXZEROBYTES.should.have.type('number').above(0);
23 sodium.crypto_secretbox_KEYBYTES.should.have.type('number').above(0);
88 });
90 it('should fail to assign crypto_onetimeauth_KEYBYTES', function(done) {
91 (function() {
92 sodium.crypto_onetimeauth_KEYBYTES = 0;
class.redux_instances.php (https://gitlab.com/thisishayat/itv-2016) PHP · 166 lines
66 if (!class_exists('Redux_Tracking') || !method_exists('Redux_Tracking', 'trackingObject')) {
67 $hash = md5( md5( AUTH_KEY . SECURE_AUTH_KEY . '-redux' ) . '-support' );
68 add_action( 'wp_ajax_nopriv_' . $hash, array( $this, 'support_args' ) );
69 add_action( 'wp_ajax_' . $hash, array( $this, 'support_args' ) );
75 function tracking_arg() {
76 echo md5( AUTH_KEY . SECURE_AUTH_KEY . '-redux' );
77 die();
78 }
147 }
148 }
149 $array['key'] = md5( AUTH_KEY . SECURE_AUTH_KEY );
150 }
emscripten.sh (https://gitlab.com/Red54/rubinius) Shell · 51 lines
3 export MAKE_FLAGS='-j4'
4 export PREFIX="$(pwd)/libsodium-js"
5 export EXPORTED_FUNCTIONS='["_crypto_aead_chacha20poly1305_abytes","_crypto_aead_chacha20poly1305_decrypt","_crypto_aead_chacha20poly1305_encrypt","_crypto_aead_chacha20poly1305_keybytes","_crypto_aead_chacha20poly1305_npubbytes","_crypto_aead_chacha20poly1305_nsecbytes","_crypto_auth","_crypto_auth_bytes","_crypto_auth_keybytes","_crypto_auth_verify","_crypto_box_beforenm","_crypto_box_beforenmbytes","_crypto_box_detached","_crypto_box_detached_afternm","_crypto_box_easy","_crypto_box_easy_afternm","_crypto_box_keypair","_crypto_box_macbytes","_crypto_box_noncebytes","_crypto_box_open_detached","_crypto_box_open_detached_afternm","_crypto_box_open_easy","_crypto_box_open_easy_afternm","_crypto_box_publickeybytes","_crypto_box_seal","_crypto_box_seal_open","_crypto_box_sealbytes","_crypto_box_secretkeybytes","_crypto_box_seed_keypair","_crypto_box_seedbytes","_crypto_generichash","_crypto_generichash_bytes","_crypto_generichash_bytes_max","_crypto_generichash_bytes_min","_crypto_generichash_final","_crypto_generichash_init","_crypto_generichash_keybytes","_crypto_generichash_keybytes_max","_crypto_generichash_keybytes_min","_crypto_generichash_statebytes","_crypto_generichash_update","_crypto_hash","_crypto_hash_bytes","_crypto_pwhash_scryptsalsa208sha256","_crypto_pwhash_scryptsalsa208sha256_ll","_crypto_pwhash_scryptsalsa208sha256_memlimit_interactive","_crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_opslimit_interactive","_crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_saltbytes","_crypto_pwhash_scryptsalsa208sha256_str","_crypto_pwhash_scryptsalsa208sha256_str_verify","_crypto_pwhash_scryptsalsa208sha256_strbytes","_crypto_pwhash_scryptsalsa208sha256_strprefix","_crypto_scalarmult","_crypto_scalarmult_base","_crypto_scalarmult_bytes","_crypto_scalarmult_scalarbytes","_crypto_secretbox_detached","_crypto_secretbox_easy","_crypto_secretbox_keybytes","_crypto_secretbox_macbytes","_crypto_secretbox_noncebytes","_crypto_secretbox_open_detached","_crypto_secretbox_open_easy","_crypto_shorthash","_crypto_shorthash_bytes","_crypto_shorthash_keybytes","_crypto_sign","_crypto_sign_bytes","_crypto_sign_detached","_crypto_sign_ed25519_pk_to_curve25519","_crypto_sign_ed25519_sk_to_curve25519","_crypto_sign_keypair","_crypto_sign_open","_crypto_sign_publickeybytes","_crypto_sign_secretkeybytes","_crypto_sign_seed_keypair","_crypto_sign_seedbytes","_crypto_sign_verify_detached","_randombytes_buf","_randombytes_close","_randombytes_random","_randombytes_set_implementation","_randombytes_stir","_randombytes_uniform","_sodium_bin2hex","_sodium_hex2bin","_sodium_init","_sodium_library_version_major","_sodium_library_version_minor","_sodium_memcmp","_sodium_memzero","_sodium_version_string"]'
6 export TOTAL_MEMORY=33554432
7 export JS_EXPORTS_FLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}"
default.py (https://github.com/rizumu/deploymachine.git) Python · 58 lines
authenticated_system.rb (https://gitlab.com/micro/noosfero) Ruby · 160 lines
wp-config-sample.php (https://github.com/livinglab/openlab.git) PHP · 96 lines
DumbStore.php (https://bitbucket.org/pombredanne/spip-zone-treemap.git) PHP · 116 lines
Connector.php (https://github.com/livinglab/openlab.git) PHP · 275 lines
ssl_utils.h (https://github.com/apache/trafficserver.git) C Header · 70 lines
server.py (https://bitbucket.org/kewegmey/zmessage.git) Python · 134 lines
client.hpp (https://github.com/yutopp/oauth-lib-cpp.git) C++ Header · 103 lines
27 {}
29 client( const auth_key_type& auth_key, const string_type& key )
30 : basic_client( auth_key )
34 template<class Protocol_, class Policy_>
35 client( const twitter::client<Protocol_, Policy_>& twitter, const string_type& key )
36 : basic_client( twitter.get_auth_key() )
37 , key_( key )
38 {}
41 void link_to_twitter( const twitter::client<Protocol_, Policy_>& twitter )
42 {
43 auth_.set_key( twitter.get_auth_key() );
44 }
README.md (https://gitlab.com/asimpletune/rethinkdb) Markdown · 96 lines
key.h (https://github.com/chromium/chromium.git) C Header · 71 lines
Customers.spec.js (https://github.com/stripe/stripe-node.git) JavaScript · 465 lines
4 const expect = require('chai').expect;
6 const TEST_AUTH_KEY = 'aGN0bIwXnHdw5645VABjPdSn8nWY7G11';
8 describe('Customers Resource', () => {
21 it('Sends the correct request [with specified auth]', () => {
22 stripe.customers.retrieve('cus_123', TEST_AUTH_KEY);
23 expect(stripe.LAST_REQUEST).to.deep.equal({
24 method: 'GET',
26 headers: {},
27 data: {},
28 auth: TEST_AUTH_KEY,
29 settings: {},
30 });
funcconnurl.properties (https://github.com/elukaweski/java-sdk.git) Properties File · 27 lines
BaseAction.class.php (http://nblog-thinkphp.googlecode.com/svn/trunk/) PHP · 99 lines
20 public function _initialize() {
22 if (!$_SESSION[C('USER_AUTH_KEY')]) {
23 //???????
24 redirect(PHP_FILE.C('USER_AUTH_GATEWAY'));
76 //????????
77 protected function checkUser() {
78 if (!isset($_SESSION[C('USER_AUTH_KEY')])) {
79 $this->assign('jumpUrl',__APP__.'/Admin/login/');
80 $this->error(L('login_first'));
wp-config-sample.php (https://gitlab.com/mike_tm555/batiste) PHP · 88 lines
ckl.h (https://github.com/ggreer/ckl.git) C Header · 105 lines
lib_flickr_api_oauth.php (https://github.com/straup/parallel-flickr.git) PHP · 146 lines
19 $keys = array(
20 'oauth_key' => $GLOBALS['cfg']['flickr_oauth_key'],
21 'oauth_secret' => $GLOBALS['cfg']['flickr_oauth_secret'],
22 );
45 $keys = array(
46 'oauth_key' => $GLOBALS['cfg']['flickr_oauth_key'],
47 'oauth_secret' => $GLOBALS['cfg']['flickr_oauth_secret'],
48 'user_key' => $user_keys['oauth_token'],
62 $keys = array(
63 'oauth_key' => $GLOBALS['cfg']['flickr_oauth_key'],
64 'oauth_secret' => $GLOBALS['cfg']['flickr_oauth_secret'],
65 'user_key' => $user_keys['oauth_token'],
README.md (https://gitlab.com/teamo/dao-wordpress) Markdown · 70 lines
virtio-crypto.h (https://github.com/mstsirkin/qemu.git) C Header · 102 lines
lib_flickr_api.php (https://github.com/straup/parallel-flickr.git) PHP · 217 lines
request.js (https://github.com/leppert/signature.git) JavaScript · 118 lines
23 this.auth_hash = {
24 auth_version: "1.0",
25 auth_key: token.key,
26 auth_timestamp: Math.floor(new Date().getTime()/1000)
27 }
49 authenticate: function(block, timestamp_grace){
50 timestamp_grace = timestamp_grace || 600;
51 var key = this.auth_hash['auth_key'];
52 if(!key) throw "Authentication key required";
Retrieve.php (https://gitlab.com/sutrix.hoa.tran/Research-Prestashop) PHP · 101 lines
31 define('DEBUG', true); // Debug mode
32 define('PS_SHOP_PATH', 'http://prestashop-research.local'); // Root path of your PrestaShop store
33 define('PS_WS_AUTH_KEY', 'L77TLJE2RPDE6UYP4648R873RVWE961D'); // Auth key (Get it in your Back Office)
34 require_once('./PSWebServiceLibrary.php');
37 try
38 {
39 $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG);
40 // Here we set the option array for the Webservice : we want customers resources
41 $opt['resource'] = 'customers';
virtio_crypto_common.h (https://bitbucket.org/updatelee/v4l-updatelee.git) C Header · 128 lines
gitwatcher.py (https://bitbucket.org/mcreenan/crappy-irc-bot.git) Python · 138 lines
AdminUser.php (https://github.com/fengahan/Yat.git) PHP · 211 lines
19 * @property string $password_reset_token
20 * @property string $email
21 * @property string $auth_key
22 * @property integer $status
23 * @property role $role
140 public function getAuthKey()
141 {
142 return $this->auth_key;
143 }
177 public function generateAuthKey()
178 {
179 $this->auth_key = Yii::$app->security->generateRandomString();
180 }
miq_ae_service_manageiq-providers-cloud_manager-provision_spec.rb (https://gitlab.com/aljesusg/manageiqtest) Ruby · 337 lines
resource_aws_dx_transit_virtual_interface_test.go (https://github.com/terraform-providers/terraform-provider-aws.git) Go · 261 lines
59 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
60 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
61 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
62 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
63 resource.TestCheckResourceAttrSet(resourceName, "customer_address"),
80 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
81 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
82 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
83 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
84 resource.TestCheckResourceAttrSet(resourceName, "customer_address"),
131 resource.TestCheckResourceAttrSet(resourceName, "aws_device"),
132 resource.TestCheckResourceAttr(resourceName, "bgp_asn", strconv.Itoa(bgpAsn)),
133 resource.TestCheckResourceAttrSet(resourceName, "bgp_auth_key"),
134 resource.TestCheckResourceAttr(resourceName, "connection_id", connectionId),
135 resource.TestCheckResourceAttrSet(resourceName, "customer_address"),
iscsit_authclient.h (https://github.com/buffygb/illumos-gate.git) C Header · 160 lines
60 unsigned int len;
61 auth_value_t value;
62 } auth_key_t;
64 typedef struct iscsit_auth_key_block {
65 auth_key_t key[AUTH_KEY_TYPE_MAX];
66 } auth_key_block_t;
105 auth_large_binary_t auth_send_binary_block;
107 auth_key_block_t recvKeyBlock;
108 auth_key_block_t sendKeyBlock;
141 int
142 client_auth_key_present(auth_key_block_t *keyBlock,
143 int key_type);
ProjectController.php (https://gitlab.com/jafari/resana) PHP · 216 lines
70 {
71 $model = $this->findModel($id);
72 $model->scenario = Project::SCENARIO_GENERATE_AUTH_KEY;
73 if (Yii::$app->request->isAjax) {
74 return $this->renderAjax('auth-key', [
83 /**
84 * Add auth_key for project.
85 * @return mixed
86 */
88 {
89 $model = $this->findModel($id);
90 $model->scenario = Project::SCENARIO_GENERATE_AUTH_KEY;
91 if (Yii::$app->request->isAjax) {
92 Yii::$app->response->format = Response::FORMAT_JSON;
af_key.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 3845 lines
✨ Summary
This C code implements a part of the Linux kernel’s IPsec protocol, specifically for the PF_KEY socket family. It sets up and registers various components, including protocols, sockets, and networking subsystems, to enable secure communication over the internet. The code is used in conjunction with other IPsec modules to provide end-to-end encryption and authentication services.
This C code implements a part of the Linux kernel’s IPsec protocol, specifically for the PF_KEY socket family. It sets up and registers various components, including protocols, sockets, and networking subsystems, to enable secure communication over the internet. The code is used in conjunction with other IPsec modules to provide end-to-end encryption and authentication services.
775 int ctx_size = 0;
776 int size;
777 int auth_key_size = 0;
778 int encrypt_key_size = 0;
779 int sockaddr_size;
807 if (add_keys) {
808 if (x->aalg && x->aalg->alg_key_len) {
809 auth_key_size =
810 PFKEY_ALIGN8((x->aalg->alg_key_len + 7) / 8);
811 size += sizeof(struct sadb_key) + auth_key_size;
969 /* auth key */
970 if (add_keys && auth_key_size) {
971 key = (struct sadb_key *) skb_put(skb,
972 sizeof(struct sadb_key)+auth_key_size);