java.lang.Object
com.azure.core.util.ExpandableStringEnum<GrantType>
com.azure.resourcemanager.apimanagement.models.GrantType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

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

    • AUTHORIZATION_CODE

      public static final GrantType AUTHORIZATION_CODE
      Static value authorizationCode for GrantType.
    • IMPLICIT

      public static final GrantType IMPLICIT
      Static value implicit for GrantType.
    • RESOURCE_OWNER_PASSWORD

      public static final GrantType RESOURCE_OWNER_PASSWORD
      Static value resourceOwnerPassword for GrantType.
    • CLIENT_CREDENTIALS

      public static final GrantType CLIENT_CREDENTIALS
      Static value clientCredentials for GrantType.
  • Constructor Details

  • Method Details

    • fromString

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

      public static Collection<GrantType> values()
      Gets known GrantType values.
      Returns:
      known GrantType values.