Added in API level 1
Deprecated in API level 29

WifiConfiguration.AuthAlgorithm


public static class WifiConfiguration.AuthAlgorithm
extends Object

java.lang.Object
   ↳ android.net.wifi.WifiConfiguration.AuthAlgorithm


Recognized IEEE 802.11 authentication algorithms.

Summary

Constants

int LEAP

LEAP/Network EAP (only used with LEAP)

int OPEN

Open System authentication (required for WPA/WPA2)

int SAE

SAE (Used only for WPA3-Personal)

int SHARED

This constant was deprecated in API level 28. Due to security and performance limitations, use of WEP networks is discouraged.

String varName

Fields

public static final String[] strings

Inherited methods

Constants

LEAP

Added in API level 1
public static final int LEAP

LEAP/Network EAP (only used with LEAP)

Constant Value: 2 (0x00000002)

OPEN

Added in API level 1
public static final int OPEN

Open System authentication (required for WPA/WPA2)

Constant Value: 0 (0x00000000)

SAE

Added in API level 30
Deprecated in API level 29
public static final int SAE

SAE (Used only for WPA3-Personal)

Constant Value: 3 (0x00000003)

SHARED

Added in API level 1
Deprecated in API level 28
public static final int SHARED

This constant was deprecated in API level 28.
Due to security and performance limitations, use of WEP networks is discouraged.

Shared Key authentication (requires static WEP keys)

Constant Value: 1 (0x00000001)

varName

Added in API level 1
public static final String varName

Constant Value: "auth_alg"

Fields

strings

Added in API level 1
public static final String[] strings