

# ExchangedParticipantToken
<a name="API_ExchangedParticipantToken"></a>

Object specifying an exchanged participant token in a stage, created when an original participant token is updated.

 **Important**: Treat tokens as opaque; i.e., do not build functionality based on token contents. The format of tokens could change in the future.

## Contents
<a name="API_ExchangedParticipantToken_Contents"></a>

 ** attributes **   <a name="ivsrealtimeeapireference-Type-ExchangedParticipantToken-attributes"></a>
Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. *This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.*   
Type: String to string map  
Required: No

 ** capabilities **   <a name="ivsrealtimeeapireference-Type-ExchangedParticipantToken-capabilities"></a>
Set of capabilities that the user is allowed to perform in the stage.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 2 items.  
Valid Values: `PUBLISH | SUBSCRIBE`   
Required: No

 ** expirationTime **   <a name="ivsrealtimeeapireference-Type-ExchangedParticipantToken-expirationTime"></a>
ISO 8601 timestamp (returned as a string) for when this token expires.  
Type: Timestamp  
Required: No

 ** userId **   <a name="ivsrealtimeeapireference-Type-ExchangedParticipantToken-userId"></a>
Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. *This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.*   
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 128.  
Required: No

## See Also
<a name="API_ExchangedParticipantToken_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/ivs-realtime-2020-07-14/ExchangedParticipantToken) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ivs-realtime-2020-07-14/ExchangedParticipantToken) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ivs-realtime-2020-07-14/ExchangedParticipantToken) 