TokenExchangeInvokeRequest Class

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

public class TokenExchangeInvokeRequest

A request to exchange a token.

Constructor Summary

Constructor Description
TokenExchangeInvokeRequest()

Method Summary

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

Gets the connection name.

java.lang.String getId()

Gets the id from the TokenExchangeInvokeRequest.

java.lang.String getToken()

Gets the details of why the token exchange failed.

void setConnectionName(String withConnectionName)

Sets the connection name.

void setId(String withId)

Sets the id from the TokenExchangeInvokeRequest.

void setToken(String withToken)

Sets the details of why the token exchange failed.

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

TokenExchangeInvokeRequest

public TokenExchangeInvokeRequest()

Method Details

getConnectionName

public String getConnectionName()

Gets the connection name.

Returns:

the ConnectionName value as a String.

getId

public String getId()

Gets the id from the TokenExchangeInvokeRequest.

Returns:

the Id value as a String.

getToken

public String getToken()

Gets the details of why the token exchange failed.

Returns:

the Token value as a String.

setConnectionName

public void setConnectionName(String withConnectionName)

Sets the connection name.

Parameters:

withConnectionName - The ConnectionName value.

setId

public void setId(String withId)

Sets the id from the TokenExchangeInvokeRequest.

Parameters:

withId - The Id value.

setToken

public void setToken(String withToken)

Sets the details of why the token exchange failed.

Parameters:

withToken - The FailureDetail value.

Applies to