Class AuthType


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

      • SYSTEM_ASSIGNED_IDENTITY

        public static final AuthType SYSTEM_ASSIGNED_IDENTITY
        Static value systemAssignedIdentity for AuthType.
      • USER_ASSIGNED_IDENTITY

        public static final AuthType USER_ASSIGNED_IDENTITY
        Static value userAssignedIdentity for AuthType.
      • SERVICE_PRINCIPAL_SECRET

        public static final AuthType SERVICE_PRINCIPAL_SECRET
        Static value servicePrincipalSecret for AuthType.
      • SERVICE_PRINCIPAL_CERTIFICATE

        public static final AuthType SERVICE_PRINCIPAL_CERTIFICATE
        Static value servicePrincipalCertificate for AuthType.
      • SECRET

        public static final AuthType SECRET
        Static value secret for AuthType.
    • Constructor Detail

      • AuthType

        public AuthType()
    • Method Detail

      • fromString

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

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