authclient\OpenId buildAuthUrlV1()

buildAuthUrlV1() protected method Builds authentication URL for the protocol version 1. protected string buildAuthUrlV1 ( $serverInfo )$serverInfo array OpenID server info. return string Authentication URL.

authclient\OpenId buildAuthUrl()

buildAuthUrl() public method Returns authentication URL. Usually, you want to redirect your user to it. public string buildAuthUrl ( $identifierSelect = null )$identifierSelect boolean Whether to request OP to select identity for an user in OpenID 2, does not affect OpenID 1. return string The authentication URL. throws yii\base\Exception on failure.

authclient\OpenId $verifyPeer

$verifyPeer public property Whether to verify the peer's certificate. public boolean $verifyPeer = null

authclient\OpenId $trustRoot

$trustRoot public property Client trust root (realm). public string getTrustRoot ( )public void setTrustRoot ( $value )

authclient\OpenId $returnUrl

$returnUrl public property Authentication return URL. public string getReturnUrl ( )public void setReturnUrl ( $returnUrl )

authclient\OpenId $requiredAttributes

$requiredAttributes public property List of attributes, which always should be returned from server. Attribute names should be always specified in AX format. For example: ['namePerson/friendly', 'contact/email'] public array $requiredAttributes = []

authclient\OpenId $optionalAttributes

$optionalAttributes public property List of attributes, which could be returned from server. Attribute names should be always specified in AX format. For example: ['namePerson/first', 'namePerson/last'] public array $optionalAttributes = []

authclient\OpenId $data

$data public property Data, which should be used to retrieve the OpenID response. If not set combination of GET and POST will be used. public array $data = null

authclient\OpenId $claimedId

$claimedId public property Claimed identifier (identity). public string getClaimedId ( )public void setClaimedId ( $claimedId )

authclient\OpenId $capath

$capath public property Directory that holds multiple CA certificates. This value will take effect only if $verifyPeer is set. public string $capath = null