authclient\OpenId discover()

discover() public method

Performs Yadis and HTML discovery.

public array discover ( $url )
$url string

Identity URL.

return array

OpenID provider info, following keys will be available:

  • 'url' - string OP Endpoint (i.e. OpenID provider address).
  • 'version' - integer OpenID protocol version used by provider.
  • 'identity' - string identity value.
  • 'identifier_select' - boolean whether to request OP to select identity for an user in OpenID 2, does not affect OpenID 1.
  • 'ax' - boolean whether AX attributes should be used.
  • 'sreg' - boolean whether SREG attributes should be used.
throws yii\base\Exception

on failure.

doc_Yii
2016-10-30 16:49:53
Comments
Leave a Comment

Please login to continue.