@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
30 lines (27 loc) • 623 B
text/typescript
import { ChannelID } from '../channel-id.mjs';
/**
* A response that includes a user token
*/
type TokenResponse = {
/**
* @member {string} [channelId]
*/
channelId?: ChannelID;
/**
* The connection name
*/
connectionName: string;
/**
* The user token
*/
token: string;
/**
* Expiration for the token, in ISO 8601 format (e.g. "2007-04-05T14:30Z")
*/
expiration: string;
/**
* A collection of properties about this response, such as token polling parameters
*/
properties?: Record<string, any>;
};
export type { TokenResponse };