java.lang.Object
com.microsoft.rest.ExpandableStringEnum<TokenType>
com.microsoft.azure.management.containerregistry.TokenType

public final class TokenType extends com.microsoft.rest.ExpandableStringEnum<TokenType>
Defines values for TokenType.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TokenType
    Static value OAuth for TokenType.
    static final TokenType
    Static value PAT for TokenType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static TokenType
    Creates or finds a TokenType from its string representation.
     

    Methods inherited from class com.microsoft.rest.ExpandableStringEnum

    equals, fromString, hashCode, toString, values, withNameValue

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • PAT

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

      public static final TokenType OAUTH
      Static value OAuth 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:
      name - a name to look for
      Returns:
      the corresponding TokenType
    • values

      public static Collection<TokenType> values()
      Returns:
      known TokenType values