core/aws-lsp-core/src/credentials/updateCredentialsRequest.ts (3 lines of code) (raw):
/**
* Request that the host uses when talking to custom notifications in
* order to send updated credentials and bearer tokens to the language server.
*
* See credentialsProtocolMethodNames in core\aws-lsp-core\src\credentials\credentialsProvider.ts
* for the custom notification names.
*
* While there are separate notifications for sending credentials and sending bearer tokens,
* both notifications use this request. The `data` field is different for each notification.
*/
export interface UpdateCredentialsRequest {
/**
* Encrypted token (JWT or PASETO)
* The token's contents differ whether IAM or Bearer token is sent
*/
data: string
}