Ferreteria/v0.6/fx/OCred: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Jump to navigation Jump to search
(Created page with "{{page/fx}} ==About== * '''Purpose''': access to the current object's {{l/ver/clade|IO\Aspect|Creds|connection credentials}} object ==Usage== {| class="wikitable sortable" ! clade || require || implement || call || notes {{!-!}} <code>{{l/ver/clade/full|IO\Aspect|Socket}}</code> | <code>function OCred() : {{l/ver/clade|IO\Aspect|Creds|CredIface}}</code> | {{fmt/php/inline|1=return $this->oCred;}} | | Implementation is identical to VConns. {{!-!}} <code>{{l/ver/clade/full...")
 
mNo edit summary
 
Line 18: Line 18:
|
|
|
|
| in <code>{{l/ver/fx|OCreds}}()</code>: <code>return $this->{{l/ver/fx|OSock}}()->{{l/ver/fx|OCred}}();</code>
| in <code>{{l/ver/fx|OCred}}()</code>: <code>return $this->{{l/ver/fx|OSock}}()->{{l/ver/fx|OCred}}();</code>
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect|Socket}}</code>
{{!-!}} <code>{{l/ver/clade/full|IO\Aspect|Socket}}</code>
|
|

Latest revision as of 21:51, 4 December 2025

About

Usage

clade require implement call notes
IO\Aspect\Socket function OCred() : CredIface return $this->oCred; Implementation is identical to VConns.
Sys\Data\Engine\Conn\view\VConns return $this->oCred; Implementation is identical to Socket.
IO\Aspect\Connx\Plug\Shell\Remote\SSH in OCred(): return $this->OSock()->OCred();
IO\Aspect\Socket $sUser = $this->OCred()->DescribeInline();
Sys\Data\Engine\Conn return new ($this->InspectorClass())($this,$this->OSock(),$this->OSock()->OCred(),$this);
Sys\Data\Engine\Conn\MyMar

in CredsForCmd(): $oCred = $oSock->OCred(); // DB credentials
in DescribeInline(): $ftCred = $this->OSock()->OCred()->DescribeInline();
in ActualOpen(): $oCred = $oConn->OCred();