Lines Matching full:auth_id
15 auth_id = model.StringProperty()
29 success, user = m.create_user(auth_id='auth_id_1', password_raw='foo')
56 success, info = m.create_user(auth_id='auth_id_1', password_raw='foo')
61 success, info = m.create_user(auth_id='auth_id_1')
63 self.assertEqual(info, ['auth_id'])
69 success, info = m.create_user(auth_id='auth_id_2',
78 success, info = m.create_user(auth_id='auth_id_3',
85 success, new_user = m.create_user(auth_id='auth_id_1', password_raw='foo')
90 success, new_user_2 = m.create_user(auth_id='auth_id_2', password_raw='foo')
101 self.assertEqual(info, ['auth_id'])
106 auth_id = 'foo'
108 token_1 = m.create(auth_id, subject, token=None)
111 token_2 = m.get(user=auth_id, subject=subject, token=token)
117 m.get_key(auth_id, subject, token).delete()
119 token_2 = m.get(user=auth_id, subject=subject, token=token)
127 auth_id = 'foo'
129 token = m.create_auth_token(auth_id)
130 self.assertTrue(m.validate_auth_token(auth_id, token))
131 m.delete_auth_token(auth_id, token)
132 self.assertFalse(m.validate_auth_token(auth_id, token))
134 token = m.create_signup_token(auth_id)
135 self.assertTrue(m.validate_signup_token(auth_id, token))
136 m.delete_signup_token(auth_id, token)
137 self.assertFalse(m.validate_signup_token(auth_id, token))
150 # Create the unique username, auth_id and email.
168 def create_user(username, auth_id, email):
171 unique_auth_id = 'User.auth_id:%s' % auth_id
174 # Create the unique username, auth_id and email.
179 user = User(username=username, auth_id=auth_id, email=email)
188 'exists' % auth_id)