sabas/oauth1-openstreetmap

Openstreetmap OAuth 1.0 Client Provider for The PHP League OAuth1-Client

1.0.1 2018-05-17 18:30 UTC

This package is auto-updated.

Last update: 2024-11-29 05:20:46 UTC


README

This package provides Openstreetmap OAuth 1.0 support for the PHP League's OAuth 1.0 Client.

Installation

To install, use composer:

composer require sabas/oauth1-openstreetmap

Usage

Usage is the same as The League's OAuth client, using sabas\OAuth1\Client\Server\Openstreetmap as the provider.

$server = new sabas\OAuth1\Client\Server\Openstreetmap(array(
    'identifier'   => 'your-identifier',
    'secret'       => 'your-secret',
    'callback_uri' => 'http://your-callback-uri/',
));