Overview

Namespaces

  • Authoritarian
    • Exception
      • Flow
    • Flow
  • PHP

Classes

  • AbstractFlow
  • AuthorizationCodeFlow
  • ClientCredentialsFlow
  • ResourceOwnerPasswordFlow
  • Overview
  • Namespace
  • Class
  • Tree

Class ClientCredentialsFlow

Implementation of Client Credentials Flow

Authoritarian\Flow\AbstractFlow
Extended by Authoritarian\Flow\ClientCredentialsFlow
Namespace: Authoritarian\Flow
Located at Authoritarian/Flow/ClientCredentialsFlow.php
Methods summary
public Guzzle\Http\Message\RequestInterface
# getRequest( )

Get the request to the Access Token

Get the request to the Access Token

Returns

Guzzle\Http\Message\RequestInterface

Throws

MissingTokenUrlException
When the OAuth token URL wasn't set
MissingClientCredentialException
When the app's client credentials wasn't set

Overrides

Authoritarian\Flow\AbstractFlow::getRequest()
Methods inherited from Authoritarian\Flow\AbstractFlow
removeNullItems(), setClientCredential(), setHttpClient(), setScope(), setTokenUrl()
Constants summary
string GRANT_TYPE 'client_credentials'
#
Properties inherited from Authoritarian\Flow\AbstractFlow
$client, $clientId, $clientSecret, $scope, $tokenUrl
API documentation generated by ApiGen 2.8.0