Class TokenType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TokenType>
com.azure.resourcemanager.containerregistry.models.TokenType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The type of Auth token.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenTypefromString(String name) Creates or finds a TokenType from its string representation.static Collection<TokenType> values()Gets known TokenType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PAT
Static value PAT for TokenType. -
OAUTH
Static value OAuth for TokenType.
-
-
Constructor Details
-
TokenType
Deprecated.Use thefromString(String)factory method.Creates a new instance of TokenType value.
-
-
Method Details
-
fromString
Creates or finds a TokenType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding TokenType.
-
values
Gets known TokenType values.- Returns:
- known TokenType values.
-
fromString(String)factory method.