added support for line auth (#6007)

* added support for line auth

* fixed linting issues

* modified auth adapter spec to handle line auth adapter

* revert package.json changes
This commit is contained in:
Saimoom Safayet Akash
2019-09-03 19:11:33 +06:00
committed by Diamond Lewis
parent 0e8779fbae
commit 723fe3b158
3 changed files with 43 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ const responses = {
instagram: { data: { id: 'userId' } },
janrainengage: { stat: 'ok', profile: { identifier: 'userId' } },
janraincapture: { stat: 'ok', result: 'userId' },
line: { userId: 'userId' },
vkontakte: { response: [{ id: 'userId' }] },
google: { sub: 'userId' },
wechat: { errcode: 0 },
@@ -29,6 +30,7 @@ describe('AuthenticationProviders', function() {
'twitter',
'janrainengage',
'janraincapture',
'line',
'vkontakte',
'qq',
'spotify',