yii\authclient\OpenId::fetchAttributes PHP Method

fetchAttributes() public method

Note that it does not guarantee that any of the required/optional parameters will be present, or that there will be no other attributes besides those specified. In other words. OP may provide whatever information it wants to. SREG names will be mapped to AX names.
See also: http://www.axschema.org/types/
public fetchAttributes ( ) : array
return array array of attributes with keys being the AX schema names, e.g. 'contact/email'
    public function fetchAttributes()
    {
        if (isset($this->data['openid_ns']) && $this->data['openid_ns'] == 'http://specs.openid.net/auth/2.0') {
            // OpenID 2.0
            // We search for both AX and SREG attributes, with AX taking precedence.
            return array_merge($this->fetchSregAttributes(), $this->fetchAxAttributes());
        }
        return $this->fetchSregAttributes();
    }