Stay organized with collections
Save and categorize content based on your preferences.
Phase2
class Phase2
The inner authentication method used
Summary
Constants |
static Int |
EAP-Authentication and Key Agreement [RFC-4187]
|
static Int |
EAP-Authentication and Key Agreement Prime [RFC-5448]
|
static Int |
Generic Token Card
|
static Int |
Microsoft Challenge Handshake Authentication Protocol
|
static Int |
Microsoft Challenge Handshake Authentication Protocol v2
|
static Int |
|
static Int |
Password Authentication Protocol
|
static Int |
EAP-Subscriber Identity Module [RFC-4186]
|
Constants
AKA
static val AKA: Int
EAP-Authentication and Key Agreement [RFC-4187]
Value: 6
AKA_PRIME
static val AKA_PRIME: Int
EAP-Authentication and Key Agreement Prime [RFC-5448]
Value: 7
GTC
static val GTC: Int
Generic Token Card
Value: 4
MSCHAP
static val MSCHAP: Int
Microsoft Challenge Handshake Authentication Protocol
Value: 2
MSCHAPV2
static val MSCHAPV2: Int
Microsoft Challenge Handshake Authentication Protocol v2
Value: 3
NONE
static val NONE: Int
Value: 0
PAP
static val PAP: Int
Password Authentication Protocol
Value: 1
SIM
static val SIM: Int
EAP-Subscriber Identity Module [RFC-4186]
Value: 5
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-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# WifiEnterpriseConfig.Phase2\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPhase2\n======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/wifi/WifiEnterpriseConfig.Phase2 \"View this page in Java\") \n\n```\nclass Phase2\n```\n\n|---|---------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.net.wifi.WifiEnterpriseConfig.Phase2](#) |\n\nThe inner authentication method used\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [AKA](#AKA:kotlin.Int) EAP-Authentication and Key Agreement \\[RFC-4187\\] |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [AKA_PRIME](#AKA_PRIME:kotlin.Int) EAP-Authentication and Key Agreement Prime \\[RFC-5448\\] |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [GTC](#GTC:kotlin.Int) Generic Token Card |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [MSCHAP](#MSCHAP:kotlin.Int) Microsoft Challenge Handshake Authentication Protocol |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [MSCHAPV2](#MSCHAPV2:kotlin.Int) Microsoft Challenge Handshake Authentication Protocol v2 |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [NONE](#NONE:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [PAP](#PAP:kotlin.Int) Password Authentication Protocol |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [SIM](#SIM:kotlin.Int) EAP-Subscriber Identity Module \\[RFC-4186\\] |\n\nConstants\n---------\n\n### AKA\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val AKA: Int\n```\n\nEAP-Authentication and Key Agreement \\[RFC-4187\\] \n\n Value: 6\n\n### AKA_PRIME\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val AKA_PRIME: Int\n```\n\nEAP-Authentication and Key Agreement Prime \\[RFC-5448\\] \n\n Value: 7\n\n### GTC\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val GTC: Int\n```\n\nGeneric Token Card \n\n Value: 4\n\n### MSCHAP\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MSCHAP: Int\n```\n\nMicrosoft Challenge Handshake Authentication Protocol \n\n Value: 2\n\n### MSCHAPV2\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val MSCHAPV2: Int\n```\n\nMicrosoft Challenge Handshake Authentication Protocol v2 \n\n Value: 3\n\n### NONE\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NONE: Int\n``` \n\n Value: 0\n\n### PAP\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PAP: Int\n```\n\nPassword Authentication Protocol \n\n Value: 1\n\n### SIM\n\nAdded in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SIM: Int\n```\n\nEAP-Subscriber Identity Module \\[RFC-4186\\] \n\n Value: 5"]]