-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge from main repo: Preliminary article on auth integration pattern…
…s (#2422)
- Loading branch information
1 parent
9288ebb
commit 9335f91
Showing
7 changed files
with
47 additions
and
12,723 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export default class SftpClient { | ||
connectionStatus: boolean; | ||
|
||
constructor() { | ||
this.connectionStatus = false; | ||
} | ||
|
||
connect(options: any) { | ||
this.connectionStatus = true; | ||
} | ||
|
||
createReadStream() { | ||
return undefined; | ||
} | ||
|
||
put(): Promise<string> { | ||
return Promise.resolve('success'); | ||
} | ||
|
||
list(remoteFilePath: string): Promise<any> { | ||
return Promise.resolve([]); | ||
} | ||
} |
Oops, something went wrong.