Download the PHP package vinelab/oauth-clients-generator-redis without Composer

On this page you can find all versions of the php package vinelab/oauth-clients-generator-redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package oauth-clients-generator-redis

Redis OAuth2 Client Generator

alt tag

Redis Client Generator to be used with ThePhpLeague's OAuth2 Package

Quick Reference

Installation

Composer

Use the command:

otherwise, add:

"vinelab/oauth-clients-generator-redis": "dev-master"

to your composer.json file and do a composer update.

Commands

Client Generator comes with a handy command line tool for usage straight from the command line. Once you install using composer an oauth binary will be in your vendor/bin/. To make things easier you can run

export PATH="./vendor/bin:$PATH" to use oauth straight instead of ./vendor/bin/oauth

use oauth list for a list of available commands and oauth --help [command] for more info about each of them.

Commands

Create Client

In order to create a new client, use the command:

oauth clients:create {name} {password} {redirect_uri = ''} {grantType = 'client_credentials'},

where:

name => The name of the application [REQUIRED],

password => A password to use when you need to delete a client or re-generate his secret [REQUIRED],

redirect_uri => The redirect URI you want to make use of [OPTIONAL],

grantType => The grant type you want to use [OPTIONAL]

Delete Client

In order to delete a specific client, use the command:

oauth clients:delete {client_id} {password},

where:

client_id => The client's id [REQUIRED],

password => The password the user used when created the client [REQUIRED]

List Clients

In order to list all available clients, use the command:

oauth clients:list.

Fetch Client (or client's secret)

In order to fetch a specific client or just fetch a client's secret, use the command:

oauth clients:fetch {client_id},

where:

client_id => The client's id [REQUIRED],

and in case you want to fetch a specific user's secret, you can use the --show-secret flag in the command:

eg. oauth clients:fetch {client_id} --show-secret {password}

where:

password => The password the user used when created the client [REQUIRED]

Re-generate Client's Secret

In order to re-generate a specific client's secret, use the command:

oauth clients:regenerate-secret {client_id} {password},

where:

client_id => The client's id [REQUIRED],

password => The password the user used when created the client [REQUIRED]


All versions of oauth-clients-generator-redis with dependencies

PHP Build Version
Package Version
Requires vinelab/assistant Version ~1.2
symfony/console Version 2.7.*
vinelab/oauth-manager-redis Version dev-dev
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vinelab/oauth-clients-generator-redis contains the following files

Loading the files please wait ....