Stay organized with collections
Save and categorize content based on your preferences.
AuthAlgorithm
open class AuthAlgorithm
Recognized IEEE 802.11 authentication algorithms.
Summary
Constants |
static Int |
LEAP/Network EAP (only used with LEAP)
|
static Int |
Open System authentication (required for WPA/WPA2)
|
static Int |
SAE (Used only for WPA3-Personal)
|
static Int |
Shared Key authentication (requires static WEP keys)
|
static String |
|
Constants
LEAP
static val LEAP: Int
LEAP/Network EAP (only used with LEAP)
Value: 2
OPEN
static val OPEN: Int
Open System authentication (required for WPA/WPA2)
Value: 0
SAE
static val SAE: Int
SAE (Used only for WPA3-Personal)
Value: 3
SHARED
static val SHARED: Int
Deprecated: Due to security and performance limitations, use of WEP networks is discouraged.
Shared Key authentication (requires static WEP keys)
Value: 1
varName
static val varName: String
Value: "auth_alg"
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# WifiConfiguration.AuthAlgorithm\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAuthAlgorithm\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/wifi/WifiConfiguration.AuthAlgorithm \"View this page in Java\") \n\n```\nopen class AuthAlgorithm\n```\n\n|---|-------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.wifi.WifiConfiguration.AuthAlgorithm](#) |\n\nRecognized IEEE 802.11 authentication algorithms.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [LEAP](#LEAP:kotlin.Int) LEAP/Network EAP (only used with LEAP) |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [OPEN](#OPEN:kotlin.Int) Open System authentication (required for WPA/WPA2) |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SAE](#SAE:kotlin.Int) SAE (Used only for WPA3-Personal) |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SHARED](#SHARED:kotlin.Int) Shared Key authentication (requires static WEP keys) |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [varName](#varName:kotlin.String) \u003cbr /\u003e |\n\n| Properties ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| static [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\\\u003e! | [strings](#strings:kotlin.Array) \u003cbr /\u003e |\n\nConstants\n---------\n\n### LEAP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LEAP: Int\n```\n\nLEAP/Network EAP (only used with LEAP) \n\n Value: 2\n\n### OPEN\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val OPEN: Int\n```\n\nOpen System authentication (required for WPA/WPA2) \n\n Value: 0\n\n### SAE\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SAE: Int\n```\n\nSAE (Used only for WPA3-Personal) \n\n Value: 3\n\n### SHARED\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SHARED: Int\n```\n\n**Deprecated:** *Due to security and performance limitations, use of WEP networks is discouraged.*\n\nShared Key authentication (requires static WEP keys) \n\n Value: 1\n\n### varName\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val varName: String\n``` \n\n Value: \"auth_alg\"\n\nProperties\n----------\n\n### strings\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val strings: Array\u003cString!\u003e!\n```"]]