Enum Class AuthenticationScheme

java.lang.Object
java.lang.Enum<AuthenticationScheme>
org.webkitgtk.AuthenticationScheme
All Implemented Interfaces:
Serializable, Comparable<AuthenticationScheme>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum AuthenticationScheme extends Enum<AuthenticationScheme> implements Enumeration
Enum values representing the authentication scheme.
Since:
2.2
  • Enum Constant Details

    • DEFAULT

      public static final AuthenticationScheme DEFAULT
      The default authentication scheme of WebKit.
    • HTTP_BASIC

      public static final AuthenticationScheme HTTP_BASIC
      Basic authentication scheme as defined in RFC 2617.
    • HTTP_DIGEST

      public static final AuthenticationScheme HTTP_DIGEST
      Digest authentication scheme as defined in RFC 2617.
    • HTML_FORM

      public static final AuthenticationScheme HTML_FORM
      HTML Form authentication.
    • NTLM

      public static final AuthenticationScheme NTLM
      NTLM Microsoft proprietary authentication scheme.
    • NEGOTIATE

      public static final AuthenticationScheme NEGOTIATE
      Negotiate (or SPNEGO) authentication scheme as defined in RFC 4559.
    • CLIENT_CERTIFICATE_REQUESTED

      public static final AuthenticationScheme CLIENT_CERTIFICATE_REQUESTED
      Client Certificate Authentication (see RFC 2246).
    • SERVER_TRUST_EVALUATION_REQUESTED

      public static final AuthenticationScheme SERVER_TRUST_EVALUATION_REQUESTED
      Server Trust Authentication.
    • CLIENT_CERTIFICATE_PIN_REQUESTED

      public static final AuthenticationScheme CLIENT_CERTIFICATE_PIN_REQUESTED
      Client certificate PIN required for use. Since: 2.34
    • UNKNOWN

      public static final AuthenticationScheme UNKNOWN
      Authentication scheme unknown.
  • Method Details

    • values

      public static AuthenticationScheme[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AuthenticationScheme valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static AuthenticationScheme of(int value)
      Create a new AuthenticationScheme for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static AuthenticationScheme of(MemorySegment address)
      Create a new AuthenticationScheme for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the AuthenticationScheme class.
      Returns:
      the GType