Download the PHP package maenbn/openamauth without Composer

On this page you can find all versions of the php package maenbn/openamauth. 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 openamauth

OpenAM Authentication

Build Status Codecov Code Climate Code Climate Packagist Packagist

This is a PHP library for authenticating users via OpenAM

NOTE: Usage with Laravel

This package has been changed to be framework agnostic. If you're using Laravel 5.1 then continue to use **v1.1.*** of this package. For later versions of Laravel, a new separate package for Laravel will be created using this package as it's core logic. More information will follow.

Installation

The tool requires you have PHP 5.6.*+ and Composer.

You will also need a OpenAM server.

To install the package run the following composer command

Usage

Setup

To setup an OpenAm object you will need to initialise a config object and pass that to the OpenAm factory:

Authenticating and retrieving the return token ID

Validate Token

If an OpenAm instance has ran a successful during the current runtime then you can validate the token id without having to set a token ID on the instance. Other wise use the setter before validating.

Getting users details

If an OpenAm instance has ran a successful during the current runtime then you can get the users details return from OpenAM without having to set a token ID and the user ID. Other wise use the
and setters before running the then .

Logging out

If an OpenAm instance has ran a successful during the current runtime then you can logout without having to set a token ID. Other wise use the setter before logging out a user.

Accessing Config object via OpenAm object

When the object is injected into the constructor of it'll modify the and property on if they're set to . This is done by retrieving this information from the OpenAm server. Obviously you may want to retrieve this data in order to set a cookie on your app correctly. Therefore you can access the object via the object via the getter:


All versions of openamauth with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-curl Version *
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 maenbn/openamauth contains the following files

Loading the files please wait ....