public static interface ParticipantToken.Builder extends SdkPojo, CopyableBuilder<ParticipantToken.Builder,ParticipantToken>
| Modifier and Type | Method and Description |
|---|---|
ParticipantToken.Builder |
attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a stage.
|
ParticipantToken.Builder |
capabilities(Collection<ParticipantTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
ParticipantToken.Builder |
capabilities(ParticipantTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
ParticipantToken.Builder |
capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
ParticipantToken.Builder |
capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
|
ParticipantToken.Builder |
duration(Integer duration)
Duration (in minutes), after which the participant token expires.
|
ParticipantToken.Builder |
expirationTime(Instant expirationTime)
ISO 8601 timestamp (returned as a string) for when this token expires.
|
ParticipantToken.Builder |
participantId(String participantId)
Unique identifier for this participant token, assigned by IVS.
|
ParticipantToken.Builder |
token(String token)
The issued client token, encrypted.
|
ParticipantToken.Builder |
userId(String userId)
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildParticipantToken.Builder attributes(Map<String,String> attributes)
Application-provided attributes to encode into the token and attach to a stage. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
attributes - Application-provided attributes to encode into the token and attach to a stage. This field is
exposed to all stage participants and should not be used for personally identifying, confidential, or
sensitive information.ParticipantToken.Builder capabilitiesWithStrings(Collection<String> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
capabilities - Set of capabilities that the user is allowed to perform in the stage.ParticipantToken.Builder capabilitiesWithStrings(String... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
capabilities - Set of capabilities that the user is allowed to perform in the stage.ParticipantToken.Builder capabilities(Collection<ParticipantTokenCapability> capabilities)
Set of capabilities that the user is allowed to perform in the stage.
capabilities - Set of capabilities that the user is allowed to perform in the stage.ParticipantToken.Builder capabilities(ParticipantTokenCapability... capabilities)
Set of capabilities that the user is allowed to perform in the stage.
capabilities - Set of capabilities that the user is allowed to perform in the stage.ParticipantToken.Builder duration(Integer duration)
Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).
duration - Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).ParticipantToken.Builder expirationTime(Instant expirationTime)
ISO 8601 timestamp (returned as a string) for when this token expires.
expirationTime - ISO 8601 timestamp (returned as a string) for when this token expires.ParticipantToken.Builder participantId(String participantId)
Unique identifier for this participant token, assigned by IVS.
participantId - Unique identifier for this participant token, assigned by IVS.ParticipantToken.Builder token(String token)
The issued client token, encrypted.
token - The issued client token, encrypted.ParticipantToken.Builder userId(String userId)
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.
userId - 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.Copyright © 2023. All rights reserved.