Documentation

DefaultUserInfoController extends Controller
in package

An implementation of userinfo endpoint.

Table of Contents

Methods

__invoke()  : Response
The entry point of this controller.
getUserInfoRequestHandlerSpi()  : UserInfoRequestHandlerSpi
Get an implementation of the UserInfoRequestHandlerSpi interface.

Methods

__invoke()

The entry point of this controller.

public __invoke(AuthleteApi $api, Request $request) : Response
Parameters
$api : AuthleteApi

An implementation of the AuthleteApi interface.

$request : Request

A userinfo request.

Return values
Response

A response that should be returned to the client.

getUserInfoRequestHandlerSpi()

Get an implementation of the UserInfoRequestHandlerSpi interface.

protected getUserInfoRequestHandlerSpi(Request $request) : UserInfoRequestHandlerSpi

The default implementation of this method returns an instance of DefaultUserInfoRequestHandlerSpi.

Parameters
$request : Request

A userinfo request.

Return values
UserInfoRequestHandlerSpi

An implementation of the UserInfoRequestHandlerSpi interface.


        
On this page

Search results