Commit Graph

313 Commits

Author SHA1 Message Date
Nicolas Le Goff
448baa8484 Checks id url is legal 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
2ed65f2461 Expires can be null 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
46124df500 Remove unique index on account_id 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
178da6a3a6 Fix tests 2014-03-24 12:29:38 +01:00
Nicolas Le Goff
63b6de5fc8 Remove one to one relation beetween account and token & add lastUsed field for token 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
8fc7ec3714 Fix infinite loop 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
d09cbbb8cf Add ApiLog Manipulator tests 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
03d19262b6 Fix token generation 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
c00c10822e Add ApiAccountManipulator tests 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
bf5b02a583 Sets api tokens fields length to 128 for migration purpose 2014-03-24 12:29:37 +01:00
Nicolas Le Goff
0cd4bb6e6a Fix DQL 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
0591976fe7 Fix missing namespace 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
07111a0e1b Add rememberSessionid method 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
00d0a463f8 Fic constant call & improve error message 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
ae25f57330 Remove Session relationship 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
d4ccdfe9b4 Fix mappedBy value for accounts relation 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
e59090fe87 Fix typo 2014-03-24 12:28:19 +01:00
Nicolas Le Goff
a55a266de2 Fix ID genration startegy 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
c4165ab03e Session can be null 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
652b5fb08f Expires can be null 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
7b85b03d13 Set api version when creating new account 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
6f87cab8c1 Fix annotation issue 2014-03-24 12:28:18 +01:00
Nicolas Le Goff
3ecdd4306b Sets relation beetwen token and account entity to One-To-One Bi-Directional 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
2882c11721 Add Api Application Converter 2014-03-24 12:28:17 +01:00
Nicolas Le Goff
2ffcb38985 Use TokenManipulator::LETTERS_AND_NUMBERS instead of old random::LETTERS_AND_NUMBERS 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
8439826db1 Add ApiLog Manipulator 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
09885d71b5 Add some constant 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
05877e49b8 Add method property 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
b75d331a05 Add findByUserAndApplication method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
f792b0051f Add setRefreshToken method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
8744227409 Add setCode method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
9529581f41 Add setOauthToken method 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
a11aa87d0a Return null if application is not found instead of throwing an exception 2014-03-24 12:28:16 +01:00
Nicolas Le Goff
c065340046 Add ApiOauthRefreshToken Repository 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
56f417a03f Add ApiOauthRefreshToken Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
3630b942b6 Set oauthToken field length to 32 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
536e54fed7 Add ApiOauthCode Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
d6a5a79229 Add some OauthCode repository functions 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
5296601d62 Set scope length to 128 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
a9c0c3a787 Set code length to 16 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
feca23e1c6 Add OauthToken manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
c477c254e6 Fix use statement 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
bbbc8f7e02 Add some application repository function 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
c5d803ac26 Add Application Manipulator 2014-03-24 12:28:15 +01:00
Nicolas Le Goff
e99b49d191 Add Account Manipulator 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
ce90b7c3bf Sets clientId & clientSecret field length to 32 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
0d4bd6ef30 Add accounts property getter 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
60474d618c Add cascade remove for accounts relationship, when deleting an application related accounts will be deleted as well 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
d3205e6f6a Add Bi-Directional relationship between ApiApplication & ApiAccount 2014-03-24 12:28:14 +01:00
Nicolas Le Goff
2ed0ce1f9d Set default value for grantedPassword & activated properties 2014-03-24 12:28:14 +01:00