Overview

Namespaces

  • Authoritarian
    • Exception
      • Flow
    • Flow
  • PHP

Classes

  • OAuth2

Interfaces

  • AuthorizationInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class OAuth2

Implementation of AuthorizationInterface for OAuth2

Authoritarian\OAuth2 implements Authoritarian\AuthorizationInterface
Namespace: Authoritarian
Located at Authoritarian/OAuth2.php
Methods summary
public
# __construct( string $token_url )

Parameters

$token_url
string
$token_url The URL to request the Access Token
public
# setHttpClient( Guzzle\Http\ClientInterface $client )
public Guzzle\Http\Message\Response
# requestAccessToken( Authoritarian\Flow\AbstractFlow $flow )

Requests the token endpoint and get the user's Access Token

Requests the token endpoint and get the user's Access Token

Parameters

$flow
Authoritarian\Flow\AbstractFlow
$flow The Oauth2 flow

Returns

Guzzle\Http\Message\Response

Implementation of

Authoritarian\AuthorizationInterface::requestAccessToken()
Properties summary
protected mixed $client
#
protected mixed $tokenUrl
#
API documentation generated by ApiGen 2.8.0