Skip to content

Commit

Permalink
feat: Expose More Public API Types (#1838)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog authored Jul 26, 2024
1 parent 0b78d91 commit 5745a49
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/auth/baseexternalclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,12 @@ export interface BaseExternalAccountClientOptions
*/
export interface IamGenerateAccessTokenResponse {
accessToken: string;
// ISO format used for expiration time: 2014-10-02T15:01:23.045123456Z
/**
* ISO format used for expiration time.
*
* @example
* '2014-10-02T15:01:23.045123456Z'
*/
expireTime: string;
}

Expand Down
15 changes: 14 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,19 @@ export {
UserRefreshClient,
UserRefreshClientOptions,
} from './auth/refreshclient';
export {AwsClient, AwsClientOptions} from './auth/awsclient';
export {
AwsClient,
AwsClientOptions,
AwsSecurityCredentialsSupplier,
} from './auth/awsclient';
export {
AwsSecurityCredentials,
AwsRequestSigner,
} from './auth/awsrequestsigner';
export {
IdentityPoolClient,
IdentityPoolClientOptions,
SubjectTokenSupplier,
} from './auth/identitypoolclient';
export {
ExternalAccountClient,
Expand All @@ -63,6 +72,9 @@ export {
export {
BaseExternalAccountClient,
BaseExternalAccountClientOptions,
SharedExternalAccountClientOptions,
ExternalAccountSupplierContext,
IamGenerateAccessTokenResponse,
} from './auth/baseexternalclient';
export {
CredentialAccessBoundary,
Expand All @@ -71,6 +83,7 @@ export {
export {
PluggableAuthClient,
PluggableAuthClientOptions,
ExecutableError,
} from './auth/pluggable-auth-client';
export {PassThroughClient} from './auth/passthrough';
export {DefaultTransporter} from './transporters';
Expand Down

0 comments on commit 5745a49

Please sign in to comment.