AdaptiveCardAuthentication Class

  • java.lang.Object
    • com.microsoft.bot.schema.AdaptiveCardAuthentication

public class AdaptiveCardAuthentication

Defines the structure that arrives in the Activity.getValue().Authentication for Invoke activity with Name of 'adaptiveCard/action'.

Constructor Summary

Constructor Description
AdaptiveCardAuthentication()

Method Summary

Modifier and Type Method and Description
java.lang.String getConnectionName()

Gets the connection name of the adaptive card authentication.

java.lang.String getId()

Gets the Id of the adaptive card invoke authentication.

java.lang.String getToken()

Gets the token of the adaptive card authentication.

void setConnectionName(String withConnectionName)

Sets the connection name of the adaptive card authentication.

void setId(String withId)

Sets the Id of the adaptive card invoke authentication.

void setToken(String withToken)

Sets the token of the adaptive card authentication.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AdaptiveCardAuthentication

public AdaptiveCardAuthentication()

Method Details

getConnectionName

public String getConnectionName()

Gets the connection name of the adaptive card authentication.

Returns:

the ConnectionName value as a String.

getId

public String getId()

Gets the Id of the adaptive card invoke authentication.

Returns:

the Id value as a String.

getToken

public String getToken()

Gets the token of the adaptive card authentication.

Returns:

the Token value as a String.

setConnectionName

public void setConnectionName(String withConnectionName)

Sets the connection name of the adaptive card authentication.

Parameters:

withConnectionName - The ConnectionName value.

setId

public void setId(String withId)

Sets the Id of the adaptive card invoke authentication.

Parameters:

withId - The Id value.

setToken

public void setToken(String withToken)

Sets the token of the adaptive card authentication.

Parameters:

withToken - The Token value.

Applies to