-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass additional metadata to ~/.enso/credentials
- Loading branch information
1 parent
a3bf5a0
commit 0801dbe
Showing
8 changed files
with
126 additions
and
42 deletions.
There are no files selected for viewing
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
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
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
Empty file.
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
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
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
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,32 @@ | ||
/** | ||
* @file This file contains the types for the IPC events. | ||
* The IPC events are used to communicate between the main and renderer processes. | ||
* The events are defined in the main process and are listened to in the renderer process. | ||
*/ | ||
|
||
/** | ||
* Payload for the save-access-token event that saves an access token to a credentials file. | ||
*/ | ||
interface SaveAccessTokenPayload { | ||
/** | ||
* The JWT token to save. | ||
*/ | ||
readonly accessToken: string | ||
/** | ||
* The cognito app integration client id | ||
*/ | ||
readonly clientId: string | ||
/** | ||
* The refresh token taken from initAuth flow. | ||
*/ | ||
readonly refreshToken: string | ||
/** | ||
* The cognito url to refresh the token. | ||
*/ | ||
readonly refreshUri: string | ||
/** | ||
* Time when the token will expire. | ||
* This is a string representation of a date in ISO 8601 format (e.g. "2021-01-01T00:00:00Z"). | ||
*/ | ||
readonly expireAt: string | ||
} |