Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surfoo/oauth2-geocaching
Geocaching Provider for OAuth 2.0 Client
https://github.com/surfoo/oauth2-geocaching
api geocaching groundspeak oauth2 rest rest-api
Last synced: 2 months ago
JSON representation
Geocaching Provider for OAuth 2.0 Client
- Host: GitHub
- URL: https://github.com/surfoo/oauth2-geocaching
- Owner: Surfoo
- License: mit
- Created: 2018-06-10T21:58:04.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-11-01T15:52:05.000Z (about 1 year ago)
- Last Synced: 2024-10-15T02:36:49.247Z (3 months ago)
- Topics: api, geocaching, groundspeak, oauth2, rest, rest-api
- Language: PHP
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geocaching Provider for OAuth 2.0 Client
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Total Downloads](https://img.shields.io/packagist/dt/surfoo/oauth2-geocaching.svg?style=flat-square)](https://packagist.org/packages/Surfoo/oauth2-geocaching)This package provides Geocaching OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).
## Installation
To install, use composer:
```
composer require surfoo/oauth2-geocaching
```## Usage
Usage is the same as The League's OAuth client, using `\League\OAuth2\Client\Provider\Geocaching` as the provider.
### Authorization Code Flow
Take a look at `demo/index.php`
## Testing
``` bash
$ ./vendor/bin/phpunit
```## License
The MIT License (MIT). Please see [License File](https://github.com/Surfoo/oauth2-geocaching/blob/master/LICENSE) for more information.