-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(fdc): Add support for Data Connect Impersonation #2844
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Jonathan! LGTM!
// @public | ||
export interface ImpersonateAuthenticated { | ||
// Warning: (ae-forgotten-export) The symbol "DecodedIdToken" needs to be exported by the entry point index.d.ts | ||
authClaims: Partial<DecodedIdToken>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this type be re-exported from src/data-connect/index.ts
?
.should.eventually.be.rejected.and.has.property('code', 'data-connect/unauthenticated'); | ||
}); | ||
|
||
it('executeGraphql() successfully executes an impersonated query with non-existing authenticated claims', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe reword this to: "should return an empty list for an impersonated query with non-existing authenticated claims"
No description provided.