Backend half

This commit is contained in:
2025-07-11 19:56:28 +02:00
parent fa868e7c1d
commit 8600fa7c1d
19426 changed files with 3750448 additions and 8108 deletions
+26
View File
@@ -0,0 +1,26 @@
import {Credentials, CredentialsOptions} from '../credentials';
import {AWSError} from '../error';
export class Signer {
/**
* A signer object can be used to generate an auth token to a database.
*/
constructor(options?:Signer.SignerOptions);
/**
* Generate an auth token to a database.
*/
getAuthToken(options: Signer.SignerOptions, callback: (err: AWSError, token: string) => void): void;
/**
* Generate an auth token to a database.
*/
getAuthToken(options: Signer.SignerOptions): string;
}
declare namespace Signer {
export interface SignerOptions {
credentials?: Credentials | CredentialsOptions;
region?: string;
hostname?: string;
port?: number;
username?: string;
}
}