Alexander Kochetov
42ee8c1c4f
Fixed authclient extension composer.json
10 years ago
Klimov Paul
275d87d0fb
Default value of `yii\authclient\clients\Twitter::$authUrl` changed to 'authenticate'
10 years ago
Alexander Makarov
f7cf3b50fa
Guide on auth clients
10 years ago
Qiang Xue
b750cf662d
prepare for the next release.
10 years ago
Qiang Xue
d7462656f7
2.0.2 release
10 years ago
Klimov Paul
9faf50443e
Fixed `\yii\authclient\OAuth2::refreshAccessToken()` does not save fetched token
10 years ago
Klimov Paul
e0b206a305
`\yii\authclient\AuthAction::defaultCancelUrl()` changed to use `yii\web\User::loginUrl`
10 years ago
Qiang Xue
7881bba26c
prepare for next release.
10 years ago
Qiang Xue
84b42abad0
prepare for 2.0.1 release
10 years ago
Дмитрий
97b1de1060
Error in documentation
...
Method clientLink no returns data. In the example of the use of manual output clients in the loop you need to use <?php instead of <?=
10 years ago
Klimov Paul
1605905fc1
Fixed CCS for `yii\authclient\widgets\AuthChoice` does not loaded if `popupMode` disabled
10 years ago
Klimov Paul
b5ddde0246
Code style fix
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Iyed
bef4685795
Update OAuth1.php
10 years ago
Qiang Xue
47f2272652
prepare for next release.
10 years ago
Qiang Xue
ae8d978270
2.0.0 release.
10 years ago
Klimov Paul
6ba7b52322
'authclient' docs adjusted
10 years ago
Klimov Paul
165e9ede6d
Added ability to operate nested and complex attributes via `yii\authclient\BaseClient::normalizeUserAttributeMap`
10 years ago
Qiang Xue
5205eabe3e
prepare for next release.
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Carsten Brandt
1e5c48957d
composer.json tabs -> spaces
10 years ago
Carsten Brandt
e40fd9d623
added branch alias to composer.json
10 years ago
Qiang Xue
ad4f652ca9
Removed unused bower.json files. Adjusted version dependencies.
10 years ago
Revin Roman
538bd65a73
Fix alias in bundle
10 years ago
Yuan Chong
baee44c97b
OAuth API Response with 20x status should be in normal
...
Hello,
I used **Yii2 authclient** to build a Github OAuth (2.0) client, and performed a POST call to create a Github repository hook. But I got this exception:
```
exception 'yii\authclient\InvalidResponseException' with message '
Request failed with code: 201, message:
{
"url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000 ",
"test_url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000/test ",
"id": 1000000,
"name": "web",
"active": true,
"events": ["push"],
"config": {
"url": "https://example.com/payload ",
"content_type": "form",
"secret": null
},
"last_response": {
"code": null,
"status": "unused",
"message": null
},
"updated_at": "2014-09-14T03:02:55Z",
"created_at": "2014-09-14T03:02:55Z"
}
' in /home/ubuntu/public_html/live/vendor/yiisoft/yii2-authclient/BaseOAuth.php:206
```
I think a successful API call is not always exactly return **200** status, like **Create a hook** API of Github: https://developer.github.com/v3/repos/hooks/
It will return `201 Created` if hook was successfully created.
In my opinion, is status code starts with **20** in normal scenario?
close #5011
10 years ago
dima
97b4c505ad
fix authchoice.js
10 years ago
Alexander Makarov
9885aac0ae
Removed unused "use" statements
10 years ago
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
10 years ago
Qiang Xue
d184fbb8ed
new asset WIP [skip ci]
10 years ago
Qiang Xue
5a1cf0f3a5
Adjusted the location of AuthChoice assets. [skip ci]
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
7736853837
property code style extensions
10 years ago
Alexander Makarov
100ba6c3ab
Replaced substr_compare with strncmp where possible
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Klimov Paul
fedf8eccd9
`yii\authclient\widgets\AuthChoice` now preserves initial settings while opening popup
10 years ago
Alexander Makarov
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
10 years ago
Klimov Paul
c9dff5305e
Redundant `yii\authclient\OpenId::sendStreamRequest()` removed.
10 years ago
Klimov Paul
78daea1bfb
OAuth extension adjusted to support any custom request type.
10 years ago
Klimov Paul
9757029191
`yii\authclient\InvalidResponseException` added
10 years ago
Klimov Paul
a1a9d9a3bc
Method `yii\authclient\BaseOAuth::mergeCurlOptions()` advanced to merge array values
10 years ago
Klimov Paul
fbce722d85
Request HTTP headers argument added to `yii\authclient\BaseOAuth::api()` method
10 years ago
Klimov Paul
fe46caf74c
User attributes fetching at `VKontakte` adjusted
10 years ago
Klimov Paul
3943641077
User attributes requesting at GoogleOAuth switched to Google+ API
10 years ago
Arthur Khachaturov
dbf10f1848
Missing semicolon
10 years ago
Carsten Brandt
6578cfbdab
updated phpdoc and classmap
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Klimov Paul
243f0134c9
OpenId return URL comparison advanced to prevent url encode problem
10 years ago
Klimov Paul
984bb9874f
list of predefined Auth clients updated
11 years ago
Carsten Brandt
d75f0c7288
removed `@link` tags from apidoc and replaced with markdown
11 years ago
Carsten Brandt
b7e493fca0
Tabs to spaces to be consistent
...
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
11 years ago