@microsoft/teams.cards
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.cards" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=code" ta
38 lines (36 loc) • 1.55 kB
TypeScript
/**
* Defines information required to enable on-behalf-of single sign-on user authentication. Maps to the TokenExchangeResource type defined by the Bot Framework (https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource)
*/
interface ITokenExchangeResource {
/**
* The unique identified of this token exchange instance.
*/
id: string;
/**
* An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific.
*/
uri: string;
/**
* An identifier for the identity provider with which to attempt a token exchange.
*/
providerId: string;
}
/**
* Defines information required to enable on-behalf-of single sign-on user authentication. Maps to the TokenExchangeResource type defined by the Bot Framework (https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource)
*/
declare class TokenExchangeResource implements ITokenExchangeResource {
/**
* The unique identified of this token exchange instance.
*/
id: string;
/**
* An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific.
*/
uri: string;
/**
* An identifier for the identity provider with which to attempt a token exchange.
*/
providerId: string;
constructor(id: string, uri: string, providerId: string);
}
export { type ITokenExchangeResource, TokenExchangeResource };