authclient\OpenId setReturnUrl()

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

authclient\OpenId setClaimedId()

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

authclient\OpenId sendRequest()

sendRequest() protected method Sends request to the server protected array|string sendRequest ( $url, $method = 'GET', $params = [] )$url string Request URL. $method string Request method. $params array Request parameters. return array|string Response. throws yii\base\Exception on failure.

authclient\OpenId initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

authclient\OpenId init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

authclient\OpenId hostExists()

hostExists() public method Checks if the server specified in the url exists. public boolean hostExists ( $url )$url string URL to check return boolean True, if the server exists; false otherwise

authclient\OpenId getTrustRoot()

getTrustRoot() public method public string getTrustRoot ( )return string Client trust root (realm).

authclient\OpenId getReturnUrl()

getReturnUrl() public method public string getReturnUrl ( )return string Authentication return URL.

authclient\OpenId getClaimedId()

getClaimedId() public method public string getClaimedId ( )return string Claimed identifier (identity).

authclient\OpenId fetchSregAttributes()

fetchSregAttributes() protected method Gets SREG attributes provided by OP. SREG names will be mapped to AX names. protected array fetchSregAttributes ( )return array Array of attributes with keys being the AX schema names, e.g. 'contact/email'