Giter Site home page Giter Site logo

jguittard / auth0-php Goto Github PK

View Code? Open in Web Editor NEW

This project forked from auth0/auth0-php

0.0 1.0 0.0 1.23 MB

Straight-forward and tested methods for accessing Auth0 Authentication and Management API endpoints.

Home Page: https://auth0.com/docs/libraries/auth0-php

License: MIT License

PHP 100.00%

auth0-php's Introduction

Auth0 PHP SDK

CircleCI Latest Stable Version codecov License Total Downloads FOSSA Status

The Auth0 PHP SDK provides straight-forward and tested methods for accessing Authentication and Management API endpoints. This README describes how to get started and provides simple examples of how to use the SDK.

Table of Contents

Documentation

Installation

We recommend installing the SDK with Composer:

$ composer require auth0/auth0-php

More details on this process as well as a manual option can be found on the main documentation page.

Getting Started

To get started, you'll need a free Auth0 account and an Application. Use the settings from the Auth0 Application in the code snippet below:

// Instantiate the base Auth0 class.
$auth0 = new Auth0([
	// The values below are found on the Application settings tab.
	'domain' => 'your-tenant.auth0.com',
	'client_id' => 'application_client_id',
	'client_secret' => 'application_client_secret',

	// This is your application URL that will be used to process the login.
	// Save this URL in the "Allowed Callback URLs" field on the Application settings tab
	'redirect_uri' => 'https://yourdomain.com/auth/callback',
]);

The values above should not be hard-coded in a production application but will suffice for testing or local development. Please see our complete guide on the main documentation page for more information on how to store and use these values.

Contributing

We appreciate feedback and contribution to this repo! Before you get started, please see the following:

Support + Feedback

  • Use Community for usage, questions, specific cases
  • Use Issues here for code-level support and bug reports
  • Customers with a paid Auth0 subscription can use the Support Center to submit a ticket to our support specialists.

Vulnerability Reporting

Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

What is Auth0?

Auth0 helps you to easily:

  • implement authentication with multiple identity providers, including social (e.g., Google, Facebook, Microsoft, LinkedIn, GitHub, Twitter, etc), or enterprise (e.g., Windows Azure AD, Google Apps, Active Directory, ADFS, SAML, etc.)
  • log in users with username/password databases, passwordless, or multi-factor authentication
  • link multiple user accounts together
  • generate signed JSON Web Tokens to authorize your API calls and flow the user identity securely
  • access demographics and analytics detailing how, when, and where users are logging in
  • enrich user profiles from other data sources using customizable JavaScript rules

Why Auth0?

License

The Auth0-PHP SDK is licensed under MIT - LICENSE

FOSSA Status

auth0-php's People

Contributors

abbaspour avatar annyv2 avatar ash-shaun avatar b-galati avatar bkotrys avatar borekb avatar cocojoe avatar crecket avatar damieng avatar darkyen avatar deboorn avatar evansims avatar glena avatar hrajchert avatar jimmyjames avatar joshcanhelp avatar jrfnl avatar jspetrak avatar kler avatar lbalmaceda avatar mgonto avatar ntotten avatar nyholm avatar pinodex avatar remuslazar avatar ring avatar robinvdvleuten avatar siacomuzzi avatar udf2457 avatar vmartynets avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.