Skip to content

Commit

Permalink
chore(packages): re-export TokenIdentity types (#5524)
Browse files Browse the repository at this point in the history
  • Loading branch information
srchase authored Nov 27, 2023
1 parent 4bdce0e commit 77f3ef6
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions packages/types/src/identity/TokenIdentity.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
import { Identity, IdentityProvider } from "./Identity";

/**
* @public
*/
export interface TokenIdentity extends Identity {
/**
* The literal token string
*/
readonly token: string;
}

/**
* @public
*/
export type TokenIdentityProvider = IdentityProvider<TokenIdentity>;
export { TokenIdentity, TokenIdentityProvider } from "@smithy/types";

0 comments on commit 77f3ef6

Please sign in to comment.