TokenType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. management. containerregistry. TokenType
- com.
- com.
public final class TokenType
extends com.microsoft.rest.ExpandableStringEnum<TokenType>
Defines values for TokenType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Token |
OAUTH
Static value OAuth for Token |
static final
Token |
PAT
Static value PAT for Token |
Constructor Summary
Constructor | Description | |
---|---|---|
TokenType() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Token |
fromString(String name)
Creates or finds a Token |
static
java.util.Collection<Token |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
OAUTH
public static final TokenType OAUTH
Static value OAuth for TokenType.
PAT
public static final TokenType PAT
Static value PAT for TokenType.
Constructor Details
TokenType
public TokenType()
Method Details
fromString
public static TokenType fromString(String name)
Creates or finds a TokenType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for