Overview
  • Namespace
  • Class

Namespaces

  • Http
    • Message
      • Authentication
      • Decorator
      • Encoding
        • Filter
      • Formatter
      • MessageFactory
      • StreamFactory
      • UriFactory

Classes

  • BasicAuth
  • Bearer
  • Chain
  • Matching
  • QueryParam
  • Wsse

Class Matching

Authenticate a PSR-7 Request if the reuqest is matching.

Http\Message\Authentication\Matching implements Http\Message\Authentication
Final
Namespace: Http\Message\Authentication
Author: Márk Sági-Kazár mark.sagikazar@gmail.com
Located at Authentication/Matching.php

Methods summary

public
# __construct( Http\Message\Authentication $authentication, callable $matcher = null )

Parameters

$authentication
$matcher
public Psr\Http\Message\RequestInterface
# authenticate( Psr\Http\Message\RequestInterface $request )

Authenticates a request.

Authenticates a request.

Parameters

$request

Returns

Psr\Http\Message\RequestInterface

Implementation of

Http\Message\Authentication::authenticate()
public static Http\Message\Authentication\Matching
# createUrlMatcher( Http\Message\Authentication $authentication, string $url )

Creates a matching authentication for an URL.

Creates a matching authentication for an URL.

Parameters

$authentication
$url

Returns

Http\Message\Authentication\Matching
API documentation generated by ApiGen