@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
1 lines • 2.02 kB
Source Map (JSON)
{"version":3,"sources":["../../../src/common/auth/token-exchange-resource.ts"],"names":[],"mappings":"AAuBO,MAAM,qBAAwD,CAAA;AAAA;AAAA;AAAA;AAAA,EAInE,EAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA,EAEA,WAAA,CAAY,EAAY,EAAA,GAAA,EAAa,UAAoB,EAAA;AACvD,IAAA,IAAA,CAAK,EAAK,GAAA,EAAA;AACV,IAAA,IAAA,CAAK,GAAM,GAAA,GAAA;AACX,IAAA,IAAA,CAAK,UAAa,GAAA,UAAA;AAAA;AAEtB","file":"token-exchange-resource.mjs","sourcesContent":["/**\n * 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)\n */\nexport interface ITokenExchangeResource {\n /**\n * The unique identified of this token exchange instance.\n */\n id: string;\n\n /**\n * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific.\n */\n uri: string;\n\n /**\n * An identifier for the identity provider with which to attempt a token exchange.\n */\n providerId: string;\n}\n\n/**\n * 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)\n */\nexport class TokenExchangeResource implements ITokenExchangeResource {\n /**\n * The unique identified of this token exchange instance.\n */\n id: string;\n\n /**\n * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific.\n */\n uri: string;\n\n /**\n * An identifier for the identity provider with which to attempt a token exchange.\n */\n providerId: string;\n\n constructor(id: string, uri: string, providerId: string) {\n this.id = id;\n this.uri = uri;\n this.providerId = providerId;\n }\n}\n"]}