IAuthentication interface
Defines authentication information associated with a card. For more information, refer to the Bot Framework OAuthCard type
Properties
| buttons | The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported. |
| connection |
The identifier for registered OAuth connection setting information. |
| text | The text that can be displayed to the end user when prompting them to authenticate. |
| token |
Provides information required to enable on-behalf-of single sign-on user authentication. |
Property Details
buttons
The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported.
buttons?: IAuthCardButton[]
Property Value
connectionName
The identifier for registered OAuth connection setting information.
connectionName?: string
Property Value
string
text
The text that can be displayed to the end user when prompting them to authenticate.
text?: string
Property Value
string
tokenExchangeResource
Provides information required to enable on-behalf-of single sign-on user authentication.
tokenExchangeResource?: ITokenExchangeResource