Class GrantType


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

      • 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 Detail

      • GrantType

        public GrantType()
    • Method Detail

      • 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.