Download the PHP package longthanhtran/yii2-oauth2-resource-server without Composer
On this page you can find all versions of the php package longthanhtran/yii2-oauth2-resource-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download longthanhtran/yii2-oauth2-resource-server
More information about longthanhtran/yii2-oauth2-resource-server
Files in longthanhtran/yii2-oauth2-resource-server
Download longthanhtran/yii2-oauth2-resource-server
More information about longthanhtran/yii2-oauth2-resource-server
Files in longthanhtran/yii2-oauth2-resource-server
Vendor longthanhtran
Package yii2-oauth2-resource-server
Short Description OAuth 2.0 Resource Server
License MIT
Package yii2-oauth2-resource-server
Short Description OAuth 2.0 Resource Server
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-oauth2-resource-server
Yii2 based OAuth2 Resource Server
Introduction.
The package is a wrapper with League's OAuth2 Server package to implement
Resource Server function. This take bearer access_token
and validates against
define OAuth2 authz server before accepting the request.
Current support grant to communicate with OAuth2 authz server is
client_credentials
Setup.
Parameters.
- Prepare the pair of
clientId
andclientSecret
inside@app/config/params.php
file. Authorization Server url also has it detail.
OAuthRequester component
- Inside
@app/config/web.php
, put component definition forOAuthRequest
Usage
From your (rest) controller, attach the RequestValidator
in behaviors
function, e.g
All versions of yii2-oauth2-resource-server with dependencies
PHP Build Version
Package Version
Requires
php Version
>= 7.4 | 8.0
yiisoft/yii2 Version ~2.0.14
league/oauth-server Version ^8.3
guzzlehttp/guzzle Version ^7.3
yiisoft/yii2 Version ~2.0.14
league/oauth-server Version ^8.3
guzzlehttp/guzzle Version ^7.3
The package longthanhtran/yii2-oauth2-resource-server contains the following files
Loading the files please wait ....