feat: BYO Auth (#491)

* feat: BYO Auth

Define client-side auth resolvers to be able to supply custom authentication credentials for integrations before a run is performed

- Added new defineAuthResolver
- Update all integrations to support the new auth resolvers
- Strip internal symbols from .d.ts in integrations and trigger-sdk
- Added BYO Auth docs
- Update Dynamic Schedule to support associated account IDs
- Create external accounts just-in-time
- Added Account ID field to test job when there are external auth integrations
- Show Account ID on run dashboard
- Added new Run error state called “Unresolved auth”

* Added changeset

* Remove @internal from TriggerIntegration public methods

* Add void to the result union

* DynamicTriggers now work with the new BYO auth system, and added a bunch of docs and docs changes

* Add additional key material for registering dynamic trigger task

* Add new define* instance methods to the overview
This commit is contained in:
Eric Allam
2023-09-22 08:54:31 -07:00
committed by GitHub
parent 3e63a7e7a0
commit c0dfa8048a
116 changed files with 2114 additions and 515 deletions
+1 -5
View File
@@ -34,11 +34,7 @@ type TreeType = {
};
export class Git {
runTask: GitHubRunTask;
constructor(runTask: GitHubRunTask) {
this.runTask = runTask;
}
constructor(private runTask: GitHubRunTask) {}
createBlob(
key: IntegrationTaskKey,