libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
String ESP8266WiFiSTAClass::psk() const {
    struct station_config conf;
    wifi_station_get_config(&conf);
    return String(reinterpret_cast<char*>(conf.password));
}
/**
 * Return the current pre shared key associated with the network
 * @return  psk string
 */
Return the current pre shared key associated with the network
@return  psk string
Return the current pre shared key associated with the network @return psk string
String ESP8266WiFiSTAClass::psk() const {
    struct station_config conf;
    wifi_station_get_config(&conf);
    return String(reinterpret_cast<char*>(conf.password));
}
String ESP8266WiFiSTAClass :: psk ( ) const { struct station_config conf ; wifi_station_get_config ( & conf ) ; return String ( reinterpret_cast < char * > ( conf . password ) ) ; }
Return the current pre shared key associated with the network
 @return  psk string
Return the current pre shared key associated with the network @return psk string