1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace OC\Remote;
- use OCP\Remote\ICredentials;
- class Credentials implements ICredentials {
-
- private $user;
-
- private $password;
-
- public function __construct($user, $password) {
- $this->user = $user;
- $this->password = $password;
- }
-
- public function getUsername() {
- return $this->user;
- }
-
- public function getPassword() {
- return $this->password;
- }
- }
|