PHPackages                             kruegge82/dhl-authentication-oauth-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. kruegge82/dhl-authentication-oauth-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kruegge82/dhl-authentication-oauth-api
======================================

This API describes how API client can obtain a token which is used to access various Parcel Germany APIs. Using this API is often the first step in making your API call. &lt;p&gt;&lt;h3&gt;Preconditions&lt;/h3&gt; You will need: \* client ID (aka "API Key", obtained when you create an app in developer.dhl.com) \* client secret (obtained when you create an app in developer.dhl.com) \* GKP user name (obtained when setting up your business account with Parcel Germany) \* GKP password (obtained when setting up your business account with Parcel Germany) &lt;h3&gt;Technical Information&lt;/h3&gt; This uses an implementation of OAuth2 Password Grant (RFC 6749). After successfull usage you will: \* have an opaque access token to be used for API calls afterwards \* this token will have an expiration time

v2.0.7(1y ago)026unlicensePHPPHP ^8.1

Since Oct 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kruegge82/dhl-authentication-oauth-api)[ Packagist](https://packagist.org/packages/kruegge82/dhl-authentication-oauth-api)[ Docs](https://openapi-generator.tech)[ RSS](/packages/kruegge82-dhl-authentication-oauth-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

OpenAPIClient-php
=================

[](#openapiclient-php)

This API describes how API client can obtain a token which is used to access various Parcel Germany APIs. Using this API is often the first step in making your API call.

### Preconditions

[](#preconditions)

 You will need: - client ID (aka "API Key", obtained when you create an app in developer.dhl.com)
- client secret (obtained when you create an app in developer.dhl.com)
- GKP user name (obtained when setting up your business account with Parcel Germany)
- GKP password (obtained when setting up your business account with Parcel Germany)

### Technical Information

[](#technical-information)

This uses an implementation of OAuth2 Password Grant (RFC 6749). After successfull usage you will: - have an opaque access token to be used for API calls afterwards
- this token will have an expiration time

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
