PHP Class Hybrid_Endpoint

Hybrid_Endpoint class provides a simple way to handle the OpenID and OAuth endpoint.
显示文件 Open project: hybridauth/hybridauth Class Usage Examples

Protected Properties

Property Type Description
$initDone
$request

Public Methods

Method Description
__construct ( array $request = null ) Process the current request
process ( array $request = null ) : Hybrid_Endpoint Process the current request

Protected Methods

Method Description
authInit ( ) Initializes authentication
processAuthDone ( ) : void Define: endpoint step 3.1 and 3.2
processAuthStart ( ) : void Define: endpoint step 3
processOpenidPolicy ( ) : void Process OpenID policy request
processOpenidRealm ( ) : void Process OpenID realm request
processOpenidXRDS ( ) : void Process OpenID XRDS request

Method Details

__construct() public method

Process the current request
public __construct ( array $request = null )
$request array The current request parameters. Leave as null to default to use $_REQUEST.

authInit() protected method

Initializes authentication
protected authInit ( )

process() public static method

Process the current request
public static process ( array $request = null ) : Hybrid_Endpoint
$request array The current request parameters. Leave as null to default to use $_REQUEST.
return Hybrid_Endpoint

processAuthDone() protected method

Define: endpoint step 3.1 and 3.2
protected processAuthDone ( ) : void
return void

processAuthStart() protected method

Define: endpoint step 3
protected processAuthStart ( ) : void
return void

processOpenidPolicy() protected method

Process OpenID policy request
protected processOpenidPolicy ( ) : void
return void

processOpenidRealm() protected method

Process OpenID realm request
protected processOpenidRealm ( ) : void
return void

processOpenidXRDS() protected method

Process OpenID XRDS request
protected processOpenidXRDS ( ) : void
return void

Property Details

$initDone protected_oe property

protected $initDone

$request protected_oe property

protected $request