Class TokenType


  • public final class TokenType
    extends com.azure.core.util.ExpandableStringEnum<TokenType>
    Defines values for TokenType.
    • Field Detail

      • PAT

        public static final TokenType PAT
        Static value PAT for TokenType.
      • OAUTH

        public static final TokenType OAUTH
        Static value OAuth for TokenType.
    • Constructor Detail

      • TokenType

        public TokenType()
    • Method Detail

      • fromString

        public static TokenType fromString​(String name)
        Creates or finds a TokenType from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding TokenType.