Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/indieweb/indieauth-client-php

Sample implementation and helper methods for an IndieAuth client.
https://github.com/indieweb/indieauth-client-php

Merge pull request #25 from gRegorLove/dev/readme-install

Add installation section to readme

f90d3b75df7aa599d5bd790472a254e19967b644 authored almost 2 years ago by Aaron Parecki <[email protected]>
Add installation section to readme

a40d9032a5f54d35714ac0dffb373734cc9c3cf8 authored almost 2 years ago by gRegor Morrill <[email protected]>
Update README.md

Namespace in code examples

9f3f9cc71a752c371b44d40a979504ffd7026c7d authored about 2 years ago by gRegor Morrill <[email protected]>
Merge pull request #24 from gRegorLove/dev/issue23

Add methods for manual IndieAuth process

653c4df4aeb5a390d5e8c0844619c5151bfeb4ac authored about 2 years ago by gRegor Morrill <[email protected]>
Update README code samples

9e163718dd9227a2f4cf415d063dbf5eb160c44b authored about 2 years ago by Gregor Morrill <[email protected]>
Add methods for manual IndieAuth process

Add methods: discoverIssuer(), validateStateMatch(), validateIssuerMatch().
Use PSR-4 instead of...

f13aa93429cafd7373d592e16790da4aa5f3047e authored about 2 years ago by Gregor Morrill <[email protected]>
Merge pull request #22 from gRegorLove/dev/github-actions

Add Github Actions

7ae15052f01053dcb7e2f7dcb69b88ab0a59bb5a authored about 2 years ago by gRegor Morrill <[email protected]>
Add missing PHP versions

e49ad3afabe81da820e4cbf23858ba261809fe23 authored about 2 years ago by Gregor Morrill <[email protected]>
Make unit tests pass

Method needed to be static.
assertInternalType() deprecated in phpunit.

59d03c4f4c029b679263650e7a2f9fdd3571988f authored about 2 years ago by Gregor Morrill <[email protected]>
Update composer.lock

Fixes error in earlier build:
https://github.com/indieweb/indieauth-client-php/actions/runs/3257...

18116afa4f1e34f34226a78c306f1bc525ad401a authored about 2 years ago by Gregor Morrill <[email protected]>
Add Github Action

Runs unit tests on PR and push to master branch.
Copied from indieweb/rel-me repo.

baba3a8d0faa900c93b7b5d7c39d432ca2863dcd authored about 2 years ago by Gregor Morrill <[email protected]>
Update unit testing dependencies

Added yoast/phpunit-polyfills to allow PHPUnit cross-version compatible
tests.

92009caf65a6b64ff0b08c9353b6367759f4d36d authored about 2 years ago by Gregor Morrill <[email protected]>
Update composer.json

Fixes warnings in earlier build:
https://github.com/indieweb/indieauth-client-php/actions/runs/3...

f4a6393c358e5feff04c35416fbbe3f50a8e6e62 authored about 2 years ago by Gregor Morrill <[email protected]>
Update target branch name to main

7b3c6b4f7f2591fc29a70158337c3b317a078f59 authored about 2 years ago by Gregor Morrill <[email protected]>
Merge pull request #19 from indieweb/dev/indieauth-metadata

Add support for IndieAuth metadata endpoint

d64d26bce66bd37822af7c46183b7e00d9141212 authored about 2 years ago by gRegor Morrill <[email protected]>
Add discovery methods

discoverRevocationEndpoint, discoverIntrospectionEndpoint, and
discoverUserinfoEndpoint.
Added c...

79ba64e8fd1432d5a6fad92c5600b911d4c74da8 authored about 2 years ago by Gregor Morrill <[email protected]>
Populate metadata in complete method when necessary

b3135fb6a602f42c0466a2028143fe81c58ef9e4 authored over 2 years ago by Gregor Morrill <[email protected]>
Fix typo

2bffbba41c28ec0f4d2711602c1e91b8312e4087 authored over 2 years ago by Gregor Morrill <[email protected]>
Add issuer verification to authorization response

2363c4f75531e4d87dd7843537b0912617fc891c authored over 2 years ago by Gregor Morrill <[email protected]>
Fix whitespace in MetadataTest

83618d449b79721e8065025fba60d9c20940d889 authored over 2 years ago by Gregor Morrill <[email protected]>
Add support for IndieAuth metadata endpoint

a144b9a510df864c4b57ba5fe07dba4ac00d060f authored over 2 years ago by Gregor Morrill <[email protected]>
Fixed link

1f3dab9dc73ee381a20eab33a009c9ec5446f1b9 authored over 3 years ago by Barnaby Walters <[email protected]>
call static discover methods to allow overrides

2ebd8396913ae8c72438dc24f037c8e1717b66ed authored almost 4 years ago by Aaron Parecki <[email protected]>
surface error messages in the body as well

d5b3320cf28f8c6e0f4eb45955288f518d7489f1 authored about 4 years ago by Aaron Parecki <[email protected]>
update version and bump php version

02b6c7fc9bdfc51780df17a2ddc2349e79b8eaa3 authored about 4 years ago by Aaron Parecki <[email protected]>
include full http response details

cb5070fdac7357da7e6c20070877e6f99f893864 authored about 4 years ago by Aaron Parecki <[email protected]>
pass through curl errors

a5fde85b05bb009df3feb65cfea1e72d16662795 authored about 4 years ago by Aaron Parecki <[email protected]>
fix build status in readme

592fb8a86943b30c750998f49c427092bb641837 authored about 4 years ago by Aaron Parecki <[email protected]>
allow forcing the library to use a single authorization endpoint

useful for using against services like indielogin.com

00db1353689a09b65fbdce886b297d1d6002ef88 authored about 4 years ago by Aaron Parecki <[email protected]>
update readme with verification instructions

f59bc8f7b3c184b40254697850196140a15c5a36 authored about 4 years ago by Aaron Parecki <[email protected]>
version bump

d551eeb268100b87ebc7a05ae796a858550e700a authored about 4 years ago by Aaron Parecki <[email protected]>
make PKCE random verifier function public

6f077ad0ab12b184db894ad6be304aed93a54685 authored about 4 years ago by Aaron Parecki <[email protected]>
major refactoring and simplification of the API

brings the library up to spec with the 20201126 version of IndieAuth

075e347433e9bdb35f3fd2e39e9140073a9a8b0c authored about 4 years ago by Aaron Parecki <[email protected]>
drop php nightly

dbc29cf6f9cc824392e0e3f5dc77bff1a7b66cc0 authored about 4 years ago by Aaron Parecki <[email protected]>
drop php 5.6, add 7.3 and 7.4

362b711ddefa2563f9d8df76582788efc8915207 authored about 4 years ago by Aaron Parecki <[email protected]>
update useragent string

e85549dd3ea2070f20a964a9b9686f31be9d5382 authored about 4 years ago by Aaron Parecki <[email protected]>
Merge pull request #17 from indieweb/always-use-response-type-code

Always use response_type=code

d08564cc2613058ab7f65cbaf2ecbb624efc435f authored about 4 years ago by Aaron Parecki <[email protected]>
Always use response_type=code

Ever since the spec change published on 2020-08-09 the only valid, and
required, value for resp...

24a1cdc7c897687629c9fd69fe227673a49a51de authored about 4 years ago by Martijn van der Ven <[email protected]>
bubble up http errors when doing the first fetch

22d40430b3a93e48c52ca71da718241293e9feac authored over 5 years ago by Aaron Parecki <[email protected]>
fix error in debug mode

5dab0728234a3b3e741cbeba2400dd257a3f950c authored almost 6 years ago by Aaron Parecki <[email protected]>
add PKCE support

7ebd16c82eaf20343b25898b554eda50f6ee2da5 authored almost 6 years ago by Aaron Parecki <[email protected]>
add debug support to begin/complete methods

acad4c7a9ae61ae553f6136098666c49ef77631c authored almost 6 years ago by Aaron Parecki <[email protected]>
update composer to use main php-mf2 package

3e47004ccfccddc5760639f4faf9ed5ceadb460e authored almost 7 years ago by Aaron Parecki <[email protected]>
update composer.lock

f05273ed7b3dae94095e46a6a38b9d8a74512b94 authored almost 7 years ago by Aaron Parecki <[email protected]>
return an error if there was a problem resolving the profile url

2da86e355094d00c4152cf39bfeb144522a994c7 authored almost 7 years ago by Aaron Parecki <[email protected]>
update for php-mf2 v0.4.0-alpha

dfe079aa8d25e98665507bbe3bf43d5e91e5711f authored almost 7 years ago by Aaron Parecki <[email protected]>
add function to discover microsub endpoint

eddcbc2c4372b0cb4ffcc525804f3fc831275d28 authored almost 7 years ago by Aaron Parecki <[email protected]>
add resolveMeURL in first step

a586b8651c9434933a5d36dcd05cf7ca6e34b953 authored almost 7 years ago by Aaron Parecki <[email protected]>
fix fragment link in readme

dc28063c213564bb2402faa0d62d36ebf32f9832 authored almost 7 years ago by Aaron Parecki <[email protected]>
add functions to handle more of the indieauth client flow

7eadaa8ca3f4975489f4992c19286be01530b08e authored almost 7 years ago by Aaron Parecki <[email protected]>
Merge branch 'master' of github.com:indieweb/indieauth-client-php

4747d9e402dba7b8d8fe33043a9e97ede0b13f42 authored almost 7 years ago by Aaron Parecki <[email protected]>
fix license keyword in composer.json

3dc2323331b78b8bbd2789751c8b8511e50946ac authored almost 7 years ago by Aaron Parecki <[email protected]>
replace curl with p3k/http and use representative h-card library

444f802a4ac36edc918c47a393afa9c4b0e81ebe authored almost 7 years ago by Aaron Parecki <[email protected]>
add test and fix for URLs entered like 'example.com/foo'

f1a52157eb0136efecd5bc6b9dbcbd1cb803999c authored almost 7 years ago by Aaron Parecki <[email protected]>
add tests for URL normalization, allow query string in "me"

closes #16

2a7f8186085d06f0371a0199e103e10729782aea authored about 7 years ago by Aaron Parecki <[email protected]>
run composer update to install deps in specific php versions

ffaf2dbe6d99fbfe3fa04522066bd722718f9e62 authored about 7 years ago by Aaron Parecki <[email protected]>
add build status badge

432cc40f0f9df6693b143cc51e293fde4e0c85a9 authored about 7 years ago by Aaron Parecki <[email protected]>
fix for empty hrefs

closes #15

23ea503f4ae6c2aabd71bb00babb043b085e9dec authored about 7 years ago by Aaron Parecki <[email protected]>
add travis config

b2b3989ea567179f70555fda323419b46b17318b authored about 7 years ago by Aaron Parecki <[email protected]>
add phpunit framework

refactor to add a test for extracting link rels from HTML

3bb5d5e1ca14bddea166093ae8fe5047c68a246a authored about 7 years ago by Aaron Parecki <[email protected]>
remove media endpoint discovery function

since it's found by doing a config query at the micropub endpoint

1cd3ff9bd2b645e84d4b33d3f3a86c96ef9fa096 authored about 7 years ago by Aaron Parecki <[email protected]>
add method to discover media endpoint

f04cb872dd6f1f1bcc7d02b8b543aea0b7c0851f authored about 7 years ago by Aaron Parecki <[email protected]>
update readme

6952e3d3117fdf97b7f6b33272ae5124e229cbe1 authored over 7 years ago by Aaron Parecki <[email protected]>
use better random number generation for state parameter

225ece31ddafaee3348eabdc915422c457498a84 authored over 7 years ago by Aaron Parecki <[email protected]>
resolve relative URLs in headers

closes #10

7fe4ecb183d38c1071839d2bd026ae1afee1c7d7 authored over 7 years ago by Aaron Parecki <[email protected]>
Merge pull request #13 from Zegnat/accept-headers

Send proper Accept HTTP header

7a8fcea40ff6ca77e906d1bf610ebe1bfc3ba9a4 authored over 7 years ago by Aaron Parecki <[email protected]>
Send proper Accept HTTP header

When Client expects a specific content type back from the server, make
sure to list it in the Ac...

913fecbb7231d64b59d50ef77b5ad326962ae884 authored over 7 years ago by Martijn van der Ven <[email protected]>
don't send state parameter in token request

A common mistake in the OAuth flow is expecting the client to send the state parameter in the to...

f5f6efad79334d1ff9370fe4dce8ccf4814820fa authored over 7 years ago by Aaron Parecki <[email protected]>
add CONTRIBUTING.md

29ec8decace89785e1a63fa9a5c59b47773f14a5 authored over 7 years ago by Aaron Parecki <[email protected]>
dual license with MIT

see #9 for details and confirmations by other contributors

b86c7415a8281036a56531767304f23befb59cbb authored over 7 years ago by Aaron Parecki <[email protected]>
send grant_type in request for access token

4b9bd766a92b8abbe420f5889bf7ebac7678151d authored almost 8 years ago by Aaron Parecki <[email protected]>
parse JSON responses from token endpoint

to be compatible with OAuth 2.0

10797686787fc22213e2e4d20347111a7b8de5eb authored almost 8 years ago by Aaron Parecki <[email protected]>
use proper Mf2 capitalization, upgrade link-rel-parser

81e425892c00afef1b6bf9fe16e771b4503bbb8a authored over 8 years ago by Aaron Parecki <[email protected]>
correction. require php-mf2 ~0.3 which will match any minor release 0.3.0 up until 1.0.0

504ba095ee10ffaabc570682f3a93b462ba21c77 authored over 8 years ago by Aaron Parecki <[email protected]>
require php-mf2 ~0.3.0 which will match any minor release 0.3.0 up until 1.0.0

9f436215e5fb5dcf09def387d9a7ca3cc532bdc5 authored over 8 years ago by Aaron Parecki <[email protected]>
Merge pull request #6 from jonnybarnes/jonnybarnes-mf2-v0.3

Update to mf2 v0.3

89682e0acb79d9bd6eaf6785419ff277e05b898d authored over 8 years ago by Aaron Parecki <[email protected]>
Update to mf2 v0.3

32b624057a5245e056d2eed561e8ac3c022293bf authored over 8 years ago by Jonny Barnes <[email protected]>
fix syntax error :(

d438bb03db15b4ccc6c63228be16de7870b6ab99 authored almost 9 years ago by Aaron Parecki <[email protected]>
Merge pull request #5 from jonnybarnes/cache-with-arrays

Use an array to cache results on a per-url basis

c3f655cb569318639140b0f96ba1e542bfc8256a authored almost 9 years ago by Aaron Parecki <[email protected]>
Use an array to cache results on a per-url basis

0c1b6053e82444229ea42472179810ea4d61058c authored almost 9 years ago by Jonny Barnes <[email protected]>
adds a function to normalize a URL

* adds "http" if no scheme is present
* adds "/" if no path was present

closes #1

6504ed0d4714084e9955f639d6e5cf4e976f9038 authored over 9 years ago by Aaron Parecki <[email protected]>
allow paths in URLs

6e0f628d81b6318e6ef7c1f75684d8869af0aae9 authored over 9 years ago by Aaron Parecki <[email protected]>
Merge pull request #3 from cweiske/master

Fix bug #2: Use response_type=id for non-scoped auth requests

6f9303cb79de7f650018cb8a317798bd4bfc2fb9 authored almost 10 years ago by Aaron Parecki <[email protected]>
Fix bug #2: Use response_type=id for non-scoped auth requests

7a9d8bb27a93e1dc507f8a5c9a594ec0035e940d authored almost 10 years ago by Christian Weiske <[email protected]>
replace with representative h-card algorithm from microformats wiki, requiring a u-uid property

f979f8ee0fc6daaa6a393e7afdac894000d09544 authored about 10 years ago by Aaron Parecki <[email protected]>
namespaces

dec4f2f77ddaab11b00537db0a5fe52cc0bc3296 authored about 10 years ago by Aaron Parecki <[email protected]>
json is hard

bc1f08bc475a8e794b5b52383a85c5e7b137c0a4 authored about 10 years ago by Aaron Parecki <[email protected]>
add dependency on barnabywalters/mf-cleaner

56ebae1c008aa29daf4061b0a29e461f862c5800 authored about 10 years ago by Aaron Parecki <[email protected]>
adds a method to parse a URL looking for a top-level h-card

c10ce6bbcb263aa0c1d5bfbb53f692a11eb6dfee authored about 10 years ago by Aaron Parecki <[email protected]>
set response type to "code"

0e2a269e97eec7c3a61129e0cda5d52803c15e1f authored about 10 years ago by Aaron Parecki <[email protected]>
declare mf2 dependency

ecb74843c5c01ca49f118480d068087b5477e4f9 authored over 10 years ago by Aaron Parecki <[email protected]>
return full curl response when debug=true

d0a9748aa643d826616ec1b02fb121f4aba0c9fc authored almost 11 years ago by Aaron Parecki <[email protected]>
add example of parsed result of verifyIndieAuthCode

2b660d2024b1b86f339b54489dd01306b465be87 authored almost 11 years ago by Aaron Parecki <[email protected]>
use rel="me"

3c96ee43844ffff303c52c4e9a72d3a1f2ea97d6 authored almost 11 years ago by Aaron Parecki <[email protected]>
look for rel="micropub"

c79c9c47ea7659a4fa129731d1dfdf1e11e822ff authored almost 11 years ago by Aaron Parecki <[email protected]>
remove hard-coded ref to composer autoload

70e45a480a70402e7c47e29f0a0185730c8276a1 authored almost 11 years ago by Aaron Parecki <[email protected]>
finish client docs

6b8764e473629b455794a28a70de4547aa189329 authored almost 11 years ago by Aaron Parecki <[email protected]>
start client section docs, and info about endpoint discovery

54d9534b1714195ff094ebc6eeae8b7fe803fd09 authored almost 11 years ago by Aaron Parecki <[email protected]>
add docs for using the library in a token endpoint

parse responses as form-encoded instead of json

2a5ffaa65b9d5fcff131d0e0edcfab7efb822fd2 authored almost 11 years ago by Aaron Parecki <[email protected]>
cache head/body response

add method to discover micropub endpoint
build_url is now a public method
getAccessToken returns ...

a2d2c4f15643a24fcb8c655afd0cd817dd6a8cf0 authored almost 11 years ago by Aaron Parecki <[email protected]>