Lingua

OAuthCard Class

Definition

A card representing a request to perform a sign in via OAuth.

public class OAuthCard : Microsoft.Agents.Core.Models.Card
type OAuthCard = class
    inherit Card
Public Class OAuthCard
Inherits Card
Inheritance
OAuthCard

Constructors

Name Description
OAuthCard()

Initializes a new instance of OAuthCard.

OAuthCard(String, String, IList<CardAction>)

Initializes a new instance of OAuthCard.

Fields

Name Description
ContentType

The content type value of a OAuthCard.

Properties

Name Description
Buttons

Action to use to perform signin.

ConnectionName

The name of the registered connection.

Text

Text for signin request.

TokenExchangeResource

Record for a token exchange request that is sent as part of Authentication.

TokenPostResource

Gets or sets the resource to directly post a token to token service.

Methods

Name Description
ToAttachment()

Creates a new attachment from OAuthCard.

ToMessage()

Creates a new message activity that includes this card as an attachment.

(Inherited from Card)

Applies to