Class CommunicationTokenScope
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CommunicationTokenScope>
com.azure.communication.identity.models.CommunicationTokenScope
public final class CommunicationTokenScope
extends com.azure.core.util.ExpandableStringEnum<CommunicationTokenScope>
List of scopes for an access token.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CommunicationTokenScopeStatic value chat for CommunicationTokenScope.static final CommunicationTokenScopeStatic value voip for CommunicationTokenScope. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommunicationTokenScopefromString(String name) Creates or finds a CommunicationTokenScope from its string representation.static Collection<CommunicationTokenScope>values()Gets known CommunicationTokenScope values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CHAT
Static value chat for CommunicationTokenScope. -
VOIP
Static value voip for CommunicationTokenScope.
-
-
Constructor Details
-
CommunicationTokenScope
Deprecated.Use thefromString(String)factory method.Creates a new instance of CommunicationTokenScope value.
-
-
Method Details
-
fromString
Creates or finds a CommunicationTokenScope from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CommunicationTokenScope.
-
values
Gets known CommunicationTokenScope values.- Returns:
- known CommunicationTokenScope values.
-
fromString(String)factory method.